public void marshall(UpdateGameSessionQueueRequest updateGameSessionQueueRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateGameSessionQueueRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(updateGameSessionQueueRequest.getTimeoutInSeconds(), TIMEOUTINSECONDS_BINDING);
            protocolMarshaller.marshall(updateGameSessionQueueRequest.getPlayerLatencyPolicies(), PLAYERLATENCYPOLICIES_BINDING);
            protocolMarshaller.marshall(updateGameSessionQueueRequest.getDestinations(), DESTINATIONS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateGameSessionQueueRequest updateGameSessionQueueRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateGameSessionQueueRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateGameSessionQueueRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateGameSessionQueueRequest . getTimeoutInSeconds ( ) , TIMEOUTINSECONDS_BINDING ) ; protocolMarshaller . marshall ( updateGameSessionQueueRequest . getPlayerLatencyPolicies ( ) , PLAYERLATENCYPOLICIES_BINDING ) ; protocolMarshaller . marshall ( updateGameSessionQueueRequest . getDestinations ( ) , DESTINATIONS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.