public void marshall(ListedServer listedServer, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(listedServer.getArn(), ARN_BINDING);
            protocolMarshaller.marshall(listedServer.getIdentityProviderType(), IDENTITYPROVIDERTYPE_BINDING);
            protocolMarshaller.marshall(listedServer.getEndpointType(), ENDPOINTTYPE_BINDING);
            protocolMarshaller.marshall(listedServer.getLoggingRole(), LOGGINGROLE_BINDING);
            protocolMarshaller.marshall(listedServer.getServerId(), SERVERID_BINDING);
            protocolMarshaller.marshall(listedServer.getState(), STATE_BINDING);
            protocolMarshaller.marshall(listedServer.getUserCount(), USERCOUNT_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ListedServer listedServer , ProtocolMarshaller protocolMarshaller ) { if ( listedServer == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listedServer . getArn ( ) , ARN_BINDING ) ; protocolMarshaller . marshall ( listedServer . getIdentityProviderType ( ) , IDENTITYPROVIDERTYPE_BINDING ) ; protocolMarshaller . marshall ( listedServer . getEndpointType ( ) , ENDPOINTTYPE_BINDING ) ; protocolMarshaller . marshall ( listedServer . getLoggingRole ( ) , LOGGINGROLE_BINDING ) ; protocolMarshaller . marshall ( listedServer . getServerId ( ) , SERVERID_BINDING ) ; protocolMarshaller . marshall ( listedServer . getState ( ) , STATE_BINDING ) ; protocolMarshaller . marshall ( listedServer . getUserCount ( ) , USERCOUNT_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.