public void marshall(StartContentModerationRequest startContentModerationRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(startContentModerationRequest.getVideo(), VIDEO_BINDING);
            protocolMarshaller.marshall(startContentModerationRequest.getMinConfidence(), MINCONFIDENCE_BINDING);
            protocolMarshaller.marshall(startContentModerationRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
            protocolMarshaller.marshall(startContentModerationRequest.getNotificationChannel(), NOTIFICATIONCHANNEL_BINDING);
            protocolMarshaller.marshall(startContentModerationRequest.getJobTag(), JOBTAG_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( StartContentModerationRequest startContentModerationRequest , ProtocolMarshaller protocolMarshaller ) { if ( startContentModerationRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( startContentModerationRequest . getVideo ( ) , VIDEO_BINDING ) ; protocolMarshaller . marshall ( startContentModerationRequest . getMinConfidence ( ) , MINCONFIDENCE_BINDING ) ; protocolMarshaller . marshall ( startContentModerationRequest . getClientRequestToken ( ) , CLIENTREQUESTTOKEN_BINDING ) ; protocolMarshaller . marshall ( startContentModerationRequest . getNotificationChannel ( ) , NOTIFICATIONCHANNEL_BINDING ) ; protocolMarshaller . marshall ( startContentModerationRequest . getJobTag ( ) , JOBTAG_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.