public Request<ListTranscriptionJobsRequest> marshall(ListTranscriptionJobsRequest listTranscriptionJobsRequest) { if (listTranscriptionJobsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<ListTranscriptionJobsRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING, listTranscriptionJobsRequest); protocolMarshaller.startMarshalling(); ListTranscriptionJobsRequestMarshaller.getInstance().marshall(listTranscriptionJobsRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
try { request = new ListTranscriptionJobsRequestMarshaller() .marshall(listTranscriptionJobsRequest);