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