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