public void marshall(CreateTypeRequest createTypeRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createTypeRequest.getApiId(), APIID_BINDING);
            protocolMarshaller.marshall(createTypeRequest.getDefinition(), DEFINITION_BINDING);
            protocolMarshaller.marshall(createTypeRequest.getFormat(), FORMAT_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateTypeRequest createTypeRequest , ProtocolMarshaller protocolMarshaller ) { if ( createTypeRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createTypeRequest . getApiId ( ) , APIID_BINDING ) ; protocolMarshaller . marshall ( createTypeRequest . getDefinition ( ) , DEFINITION_BINDING ) ; protocolMarshaller . marshall ( createTypeRequest . getFormat ( ) , FORMAT_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.