public void marshall(CreateAccountRequest createAccountRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createAccountRequest.getEmail(), EMAIL_BINDING);
            protocolMarshaller.marshall(createAccountRequest.getAccountName(), ACCOUNTNAME_BINDING);
            protocolMarshaller.marshall(createAccountRequest.getRoleName(), ROLENAME_BINDING);
            protocolMarshaller.marshall(createAccountRequest.getIamUserAccessToBilling(), IAMUSERACCESSTOBILLING_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateAccountRequest createAccountRequest , ProtocolMarshaller protocolMarshaller ) { if ( createAccountRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createAccountRequest . getEmail ( ) , EMAIL_BINDING ) ; protocolMarshaller . marshall ( createAccountRequest . getAccountName ( ) , ACCOUNTNAME_BINDING ) ; protocolMarshaller . marshall ( createAccountRequest . getRoleName ( ) , ROLENAME_BINDING ) ; protocolMarshaller . marshall ( createAccountRequest . getIamUserAccessToBilling ( ) , IAMUSERACCESSTOBILLING_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.