public void marshall(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createConfigurationSetEventDestinationRequest.getConfigurationSetName(), CONFIGURATIONSETNAME_BINDING);
            protocolMarshaller.marshall(createConfigurationSetEventDestinationRequest.getEventDestination(), EVENTDESTINATION_BINDING);
            protocolMarshaller.marshall(createConfigurationSetEventDestinationRequest.getEventDestinationName(), EVENTDESTINATIONNAME_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest , ProtocolMarshaller protocolMarshaller ) { if ( createConfigurationSetEventDestinationRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createConfigurationSetEventDestinationRequest . getConfigurationSetName ( ) , CONFIGURATIONSETNAME_BINDING ) ; protocolMarshaller . marshall ( createConfigurationSetEventDestinationRequest . getEventDestination ( ) , EVENTDESTINATION_BINDING ) ; protocolMarshaller . marshall ( createConfigurationSetEventDestinationRequest . getEventDestinationName ( ) , EVENTDESTINATIONNAME_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.