public void marshall(CreateCoreDefinitionRequest createCoreDefinitionRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createCoreDefinitionRequest.getAmznClientToken(), AMZNCLIENTTOKEN_BINDING);
            protocolMarshaller.marshall(createCoreDefinitionRequest.getInitialVersion(), INITIALVERSION_BINDING);
            protocolMarshaller.marshall(createCoreDefinitionRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(createCoreDefinitionRequest.getTags(), TAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateCoreDefinitionRequest createCoreDefinitionRequest , ProtocolMarshaller protocolMarshaller ) { if ( createCoreDefinitionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createCoreDefinitionRequest . getAmznClientToken ( ) , AMZNCLIENTTOKEN_BINDING ) ; protocolMarshaller . marshall ( createCoreDefinitionRequest . getInitialVersion ( ) , INITIALVERSION_BINDING ) ; protocolMarshaller . marshall ( createCoreDefinitionRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( createCoreDefinitionRequest . getTags ( ) , TAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.