public void marshall(OutputDescription outputDescription, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(outputDescription.getOutputId(), OUTPUTID_BINDING);
            protocolMarshaller.marshall(outputDescription.getName(), NAME_BINDING);
            protocolMarshaller.marshall(outputDescription.getKinesisStreamsOutputDescription(), KINESISSTREAMSOUTPUTDESCRIPTION_BINDING);
            protocolMarshaller.marshall(outputDescription.getKinesisFirehoseOutputDescription(), KINESISFIREHOSEOUTPUTDESCRIPTION_BINDING);
            protocolMarshaller.marshall(outputDescription.getLambdaOutputDescription(), LAMBDAOUTPUTDESCRIPTION_BINDING);
            protocolMarshaller.marshall(outputDescription.getDestinationSchema(), DESTINATIONSCHEMA_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( OutputDescription outputDescription , ProtocolMarshaller protocolMarshaller ) { if ( outputDescription == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( outputDescription . getOutputId ( ) , OUTPUTID_BINDING ) ; protocolMarshaller . marshall ( outputDescription . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( outputDescription . getKinesisStreamsOutputDescription ( ) , KINESISSTREAMSOUTPUTDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( outputDescription . getKinesisFirehoseOutputDescription ( ) , KINESISFIREHOSEOUTPUTDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( outputDescription . getLambdaOutputDescription ( ) , LAMBDAOUTPUTDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( outputDescription . getDestinationSchema ( ) , DESTINATIONSCHEMA_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.