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