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