public void marshall(UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateDomainContactPrivacyRequest.getDomainName(), DOMAINNAME_BINDING);
            protocolMarshaller.marshall(updateDomainContactPrivacyRequest.getAdminPrivacy(), ADMINPRIVACY_BINDING);
            protocolMarshaller.marshall(updateDomainContactPrivacyRequest.getRegistrantPrivacy(), REGISTRANTPRIVACY_BINDING);
            protocolMarshaller.marshall(updateDomainContactPrivacyRequest.getTechPrivacy(), TECHPRIVACY_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateDomainContactPrivacyRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getDomainName ( ) , DOMAINNAME_BINDING ) ; protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getAdminPrivacy ( ) , ADMINPRIVACY_BINDING ) ; protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getRegistrantPrivacy ( ) , REGISTRANTPRIVACY_BINDING ) ; protocolMarshaller . marshall ( updateDomainContactPrivacyRequest . getTechPrivacy ( ) , TECHPRIVACY_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.