public void marshall(CreateBrokerRequest createBrokerRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createBrokerRequest.getAutoMinorVersionUpgrade(), AUTOMINORVERSIONUPGRADE_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getBrokerName(), BROKERNAME_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getConfiguration(), CONFIGURATION_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getCreatorRequestId(), CREATORREQUESTID_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getDeploymentMode(), DEPLOYMENTMODE_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getEngineType(), ENGINETYPE_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getEngineVersion(), ENGINEVERSION_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getHostInstanceType(), HOSTINSTANCETYPE_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getLogs(), LOGS_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getMaintenanceWindowStartTime(), MAINTENANCEWINDOWSTARTTIME_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getPubliclyAccessible(), PUBLICLYACCESSIBLE_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getSecurityGroups(), SECURITYGROUPS_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getSubnetIds(), SUBNETIDS_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getTags(), TAGS_BINDING);
            protocolMarshaller.marshall(createBrokerRequest.getUsers(), USERS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateBrokerRequest createBrokerRequest , ProtocolMarshaller protocolMarshaller ) { if ( createBrokerRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createBrokerRequest . getAutoMinorVersionUpgrade ( ) , AUTOMINORVERSIONUPGRADE_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getBrokerName ( ) , BROKERNAME_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getConfiguration ( ) , CONFIGURATION_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getCreatorRequestId ( ) , CREATORREQUESTID_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getDeploymentMode ( ) , DEPLOYMENTMODE_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getEngineType ( ) , ENGINETYPE_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getEngineVersion ( ) , ENGINEVERSION_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getHostInstanceType ( ) , HOSTINSTANCETYPE_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getLogs ( ) , LOGS_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getMaintenanceWindowStartTime ( ) , MAINTENANCEWINDOWSTARTTIME_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getPubliclyAccessible ( ) , PUBLICLYACCESSIBLE_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getSecurityGroups ( ) , SECURITYGROUPS_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getSubnetIds ( ) , SUBNETIDS_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getTags ( ) , TAGS_BINDING ) ; protocolMarshaller . marshall ( createBrokerRequest . getUsers ( ) , USERS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.