Class UfSelection.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.selection.UfSelection.Builder
- Enclosing class:
UfSelection
Builder class for creating instances of UfSelection.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the UfSelection instance.setEventId
(String value) Sets the event ID of the selection.setMarketId
(String value) Sets the market ID of the selection.Sets the odds of the selection.setOutcomeId
(String value) Sets the outcome ID of the selection.setProductId
(String value) Sets the product ID of the selection.setSpecifiers
(String value) Sets the specifiers of the selection.
-
Method Details
-
build
Builds and returns the UfSelection instance.- Returns:
- The UfSelection instance.
-
setEventId
Sets the event ID of the selection.- Parameters:
value
- The event ID to set.- Returns:
- The Builder instance.
-
setProductId
Sets the product ID of the selection.- Parameters:
value
- The product ID to set.- Returns:
- The Builder instance.
-
setOdds
Sets the odds of the selection.- Parameters:
value
- The odds to set.- Returns:
- The Builder instance.
-
setOutcomeId
Sets the outcome ID of the selection.- Parameters:
value
- The outcome ID to set.- Returns:
- The Builder instance.
-
setSpecifiers
Sets the specifiers of the selection.- Parameters:
value
- The specifiers to set.- Returns:
- The Builder instance.
-
setMarketId
Sets the market ID of the selection.- Parameters:
value
- The market ID to set.- Returns:
- The Builder instance.
-