public void marshall(CreateProductRequest createProductRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createProductRequest.getAcceptLanguage(), ACCEPTLANGUAGE_BINDING);
            protocolMarshaller.marshall(createProductRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(createProductRequest.getOwner(), OWNER_BINDING);
            protocolMarshaller.marshall(createProductRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(createProductRequest.getDistributor(), DISTRIBUTOR_BINDING);
            protocolMarshaller.marshall(createProductRequest.getSupportDescription(), SUPPORTDESCRIPTION_BINDING);
            protocolMarshaller.marshall(createProductRequest.getSupportEmail(), SUPPORTEMAIL_BINDING);
            protocolMarshaller.marshall(createProductRequest.getSupportUrl(), SUPPORTURL_BINDING);
            protocolMarshaller.marshall(createProductRequest.getProductType(), PRODUCTTYPE_BINDING);
            protocolMarshaller.marshall(createProductRequest.getTags(), TAGS_BINDING);
            protocolMarshaller.marshall(createProductRequest.getProvisioningArtifactParameters(), PROVISIONINGARTIFACTPARAMETERS_BINDING);
            protocolMarshaller.marshall(createProductRequest.getIdempotencyToken(), IDEMPOTENCYTOKEN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateProductRequest createProductRequest , ProtocolMarshaller protocolMarshaller ) { if ( createProductRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createProductRequest . getAcceptLanguage ( ) , ACCEPTLANGUAGE_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getOwner ( ) , OWNER_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getDistributor ( ) , DISTRIBUTOR_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getSupportDescription ( ) , SUPPORTDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getSupportEmail ( ) , SUPPORTEMAIL_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getSupportUrl ( ) , SUPPORTURL_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getProductType ( ) , PRODUCTTYPE_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getTags ( ) , TAGS_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getProvisioningArtifactParameters ( ) , PROVISIONINGARTIFACTPARAMETERS_BINDING ) ; protocolMarshaller . marshall ( createProductRequest . getIdempotencyToken ( ) , IDEMPOTENCYTOKEN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.