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