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