public void marshall(ListAttributesRequest listAttributesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(listAttributesRequest.getCluster(), CLUSTER_BINDING);
            protocolMarshaller.marshall(listAttributesRequest.getTargetType(), TARGETTYPE_BINDING);
            protocolMarshaller.marshall(listAttributesRequest.getAttributeName(), ATTRIBUTENAME_BINDING);
            protocolMarshaller.marshall(listAttributesRequest.getAttributeValue(), ATTRIBUTEVALUE_BINDING);
            protocolMarshaller.marshall(listAttributesRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(listAttributesRequest.getMaxResults(), MAXRESULTS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ListAttributesRequest listAttributesRequest , ProtocolMarshaller protocolMarshaller ) { if ( listAttributesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listAttributesRequest . getCluster ( ) , CLUSTER_BINDING ) ; protocolMarshaller . marshall ( listAttributesRequest . getTargetType ( ) , TARGETTYPE_BINDING ) ; protocolMarshaller . marshall ( listAttributesRequest . getAttributeName ( ) , ATTRIBUTENAME_BINDING ) ; protocolMarshaller . marshall ( listAttributesRequest . getAttributeValue ( ) , ATTRIBUTEVALUE_BINDING ) ; protocolMarshaller . marshall ( listAttributesRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( listAttributesRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.