public void marshall(DiscoverInputSchemaRequest discoverInputSchemaRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(discoverInputSchemaRequest.getResourceARN(), RESOURCEARN_BINDING);
            protocolMarshaller.marshall(discoverInputSchemaRequest.getServiceExecutionRole(), SERVICEEXECUTIONROLE_BINDING);
            protocolMarshaller.marshall(discoverInputSchemaRequest.getInputStartingPositionConfiguration(), INPUTSTARTINGPOSITIONCONFIGURATION_BINDING);
            protocolMarshaller.marshall(discoverInputSchemaRequest.getS3Configuration(), S3CONFIGURATION_BINDING);
            protocolMarshaller.marshall(discoverInputSchemaRequest.getInputProcessingConfiguration(), INPUTPROCESSINGCONFIGURATION_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( DiscoverInputSchemaRequest discoverInputSchemaRequest , ProtocolMarshaller protocolMarshaller ) { if ( discoverInputSchemaRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( discoverInputSchemaRequest . getResourceARN ( ) , RESOURCEARN_BINDING ) ; protocolMarshaller . marshall ( discoverInputSchemaRequest . getServiceExecutionRole ( ) , SERVICEEXECUTIONROLE_BINDING ) ; protocolMarshaller . marshall ( discoverInputSchemaRequest . getInputStartingPositionConfiguration ( ) , INPUTSTARTINGPOSITIONCONFIGURATION_BINDING ) ; protocolMarshaller . marshall ( discoverInputSchemaRequest . getS3Configuration ( ) , S3CONFIGURATION_BINDING ) ; protocolMarshaller . marshall ( discoverInputSchemaRequest . getInputProcessingConfiguration ( ) , INPUTPROCESSINGCONFIGURATION_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.