public void marshall(AssociateNodeRequest associateNodeRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(associateNodeRequest.getServerName(), SERVERNAME_BINDING);
            protocolMarshaller.marshall(associateNodeRequest.getNodeName(), NODENAME_BINDING);
            protocolMarshaller.marshall(associateNodeRequest.getEngineAttributes(), ENGINEATTRIBUTES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AssociateNodeRequest associateNodeRequest , ProtocolMarshaller protocolMarshaller ) { if ( associateNodeRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( associateNodeRequest . getServerName ( ) , SERVERNAME_BINDING ) ; protocolMarshaller . marshall ( associateNodeRequest . getNodeName ( ) , NODENAME_BINDING ) ; protocolMarshaller . marshall ( associateNodeRequest . getEngineAttributes ( ) , ENGINEATTRIBUTES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.