public void marshall(VpcConfigRequest vpcConfigRequest, ProtocolMarshaller protocolMarshaller) {

        if (vpcConfigRequest == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(vpcConfigRequest.getSubnetIds(), SUBNETIDS_BINDING);
            protocolMarshaller.marshall(vpcConfigRequest.getSecurityGroupIds(), SECURITYGROUPIDS_BINDING);
            protocolMarshaller.marshall(vpcConfigRequest.getEndpointPublicAccess(), ENDPOINTPUBLICACCESS_BINDING);
            protocolMarshaller.marshall(vpcConfigRequest.getEndpointPrivateAccess(), ENDPOINTPRIVATEACCESS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( VpcConfigRequest vpcConfigRequest , ProtocolMarshaller protocolMarshaller ) { if ( vpcConfigRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( vpcConfigRequest . getSubnetIds ( ) , SUBNETIDS_BINDING ) ; protocolMarshaller . marshall ( vpcConfigRequest . getSecurityGroupIds ( ) , SECURITYGROUPIDS_BINDING ) ; protocolMarshaller . marshall ( vpcConfigRequest . getEndpointPublicAccess ( ) , ENDPOINTPUBLICACCESS_BINDING ) ; protocolMarshaller . marshall ( vpcConfigRequest . getEndpointPrivateAccess ( ) , ENDPOINTPRIVATEACCESS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.