public void marshall(UpdateFlowSourceRequest updateFlowSourceRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateFlowSourceRequest.getDecryption(), DECRYPTION_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getEntitlementArn(), ENTITLEMENTARN_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getFlowArn(), FLOWARN_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getIngestPort(), INGESTPORT_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getMaxBitrate(), MAXBITRATE_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getMaxLatency(), MAXLATENCY_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getProtocol(), PROTOCOL_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getSourceArn(), SOURCEARN_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getStreamId(), STREAMID_BINDING);
            protocolMarshaller.marshall(updateFlowSourceRequest.getWhitelistCidr(), WHITELISTCIDR_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateFlowSourceRequest updateFlowSourceRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateFlowSourceRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateFlowSourceRequest . getDecryption ( ) , DECRYPTION_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getEntitlementArn ( ) , ENTITLEMENTARN_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getFlowArn ( ) , FLOWARN_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getIngestPort ( ) , INGESTPORT_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getMaxBitrate ( ) , MAXBITRATE_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getMaxLatency ( ) , MAXLATENCY_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getProtocol ( ) , PROTOCOL_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getSourceArn ( ) , SOURCEARN_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getStreamId ( ) , STREAMID_BINDING ) ; protocolMarshaller . marshall ( updateFlowSourceRequest . getWhitelistCidr ( ) , WHITELISTCIDR_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.