Class Request.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.internal.Request.Builder
- Enclosing class:
Request
Builder class for creating instances of the Request class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the instance of the Request class.setContent
(ContentRequest value) Sets the content of the request being built.setCorrelationId
(String value) Sets the correlation ID of the request being built.setOperation
(String value) Sets the operation of the request being built.setOperatorId
(long value) Sets the operator ID of the request being built.setTimestampUtc
(long value) Sets the UTC millis timestamp of the request being built.setVersion
(String value) Sets the version of the request being built.
-
Method Details
-
build
Builds and returns the instance of the Request class.- Returns:
- The instance of the Request class.
-
setCorrelationId
Sets the correlation ID of the request being built.- Parameters:
value
- The correlation ID to set.- Returns:
- The current instance of the Builder class.
-
setTimestampUtc
Sets the UTC millis timestamp of the request being built.- Parameters:
value
- The UTC millis timestamp to set.- Returns:
- The current instance of the Builder class.
-
setOperatorId
Sets the operator ID of the request being built.- Parameters:
value
- The operator ID to set.- Returns:
- The current instance of the Builder class.
-
setOperation
Sets the operation of the request being built.- Parameters:
value
- The operation to set.- Returns:
- The current instance of the Builder class.
-
setVersion
Sets the version of the request being built.- Parameters:
value
- The version to set.- Returns:
- The current instance of the Builder class.
-
setContent
Sets the content of the request being built.- Parameters:
value
- The content to set.- Returns:
- The current instance of the Builder class.
-