Class InboundRequestServiceParameter.InboundRequestServiceParameterBuilder
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.monitoring.InboundRequestServiceParameter.InboundRequestServiceParameterBuilder
-
- Enclosing class:
- InboundRequestServiceParameter
public static class InboundRequestServiceParameter.InboundRequestServiceParameterBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InboundRequestServiceParameterBuilder()
-
Method Summary
-
-
-
Method Detail
-
withRequests
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withRequests(java.util.List<RequestBatchEntity> requests)
Sets the information pertaining to the inbound requests extracted from the requests- Returns:
- the builder
-
withResponses
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withResponses(java.util.List<ResponseChangeSetEntity> responses)
Sets the information pertaining to the inbound requests extracted from the responses- Returns:
- the builder
-
withMedias
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withMedias(java.util.List<InboundRequestMediaModel> medias)
Sets the request bodies for all entities contained in a request- Returns:
- the builder
-
withHttpMethod
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withHttpMethod(HttpMethod httpMethod)
Sets the HTTP method used to make the request- Returns:
- the builder
-
withUserId
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withUserId(java.lang.String userId)
Sets the user ID that made the request- Returns:
- the builder
-
withSapPassport
public InboundRequestServiceParameter.InboundRequestServiceParameterBuilder withSapPassport(java.lang.String sapPassport)
Sets the SAP Passport that came in with the request's SAP-PASSPORT header- Returns:
- the builder
-
build
public InboundRequestServiceParameter build()
-
-