public void marshall(UpdateSecretRequest updateSecretRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateSecretRequest.getSecretId(), SECRETID_BINDING);
            protocolMarshaller.marshall(updateSecretRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
            protocolMarshaller.marshall(updateSecretRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateSecretRequest.getKmsKeyId(), KMSKEYID_BINDING);
            protocolMarshaller.marshall(updateSecretRequest.getSecretBinary(), SECRETBINARY_BINDING);
            protocolMarshaller.marshall(updateSecretRequest.getSecretString(), SECRETSTRING_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateSecretRequest updateSecretRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateSecretRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateSecretRequest . getSecretId ( ) , SECRETID_BINDING ) ; protocolMarshaller . marshall ( updateSecretRequest . getClientRequestToken ( ) , CLIENTREQUESTTOKEN_BINDING ) ; protocolMarshaller . marshall ( updateSecretRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateSecretRequest . getKmsKeyId ( ) , KMSKEYID_BINDING ) ; protocolMarshaller . marshall ( updateSecretRequest . getSecretBinary ( ) , SECRETBINARY_BINDING ) ; protocolMarshaller . marshall ( updateSecretRequest . getSecretString ( ) , SECRETSTRING_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.