public void marshall(GetObjectAttributesRequest getObjectAttributesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(getObjectAttributesRequest.getDirectoryArn(), DIRECTORYARN_BINDING);
            protocolMarshaller.marshall(getObjectAttributesRequest.getObjectReference(), OBJECTREFERENCE_BINDING);
            protocolMarshaller.marshall(getObjectAttributesRequest.getConsistencyLevel(), CONSISTENCYLEVEL_BINDING);
            protocolMarshaller.marshall(getObjectAttributesRequest.getSchemaFacet(), SCHEMAFACET_BINDING);
            protocolMarshaller.marshall(getObjectAttributesRequest.getAttributeNames(), ATTRIBUTENAMES_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( GetObjectAttributesRequest getObjectAttributesRequest , ProtocolMarshaller protocolMarshaller ) { if ( getObjectAttributesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getObjectAttributesRequest . getDirectoryArn ( ) , DIRECTORYARN_BINDING ) ; protocolMarshaller . marshall ( getObjectAttributesRequest . getObjectReference ( ) , OBJECTREFERENCE_BINDING ) ; protocolMarshaller . marshall ( getObjectAttributesRequest . getConsistencyLevel ( ) , CONSISTENCYLEVEL_BINDING ) ; protocolMarshaller . marshall ( getObjectAttributesRequest . getSchemaFacet ( ) , SCHEMAFACET_BINDING ) ; protocolMarshaller . marshall ( getObjectAttributesRequest . getAttributeNames ( ) , ATTRIBUTENAMES_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.