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