Class UfSelection.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.selection.UfSelection.Builder
Enclosing class:
UfSelection

public static class UfSelection.Builder extends Object
Builder class for creating instances of UfSelection.
  • Method Details

    • build

      public UfSelection build()
      Builds and returns the UfSelection instance.
      Returns:
      The UfSelection instance.
    • setEventId

      public UfSelection.Builder setEventId(String value)
      Sets the event ID of the selection.
      Parameters:
      value - The event ID to set.
      Returns:
      The Builder instance.
    • setProductId

      public UfSelection.Builder setProductId(String value)
      Sets the product ID of the selection.
      Parameters:
      value - The product ID to set.
      Returns:
      The Builder instance.
    • setOdds

      public UfSelection.Builder setOdds(Odds value)
      Sets the odds of the selection.
      Parameters:
      value - The odds to set.
      Returns:
      The Builder instance.
    • setOutcomeId

      public UfSelection.Builder setOutcomeId(String value)
      Sets the outcome ID of the selection.
      Parameters:
      value - The outcome ID to set.
      Returns:
      The Builder instance.
    • setSpecifiers

      public UfSelection.Builder setSpecifiers(String value)
      Sets the specifiers of the selection.
      Parameters:
      value - The specifiers to set.
      Returns:
      The Builder instance.
    • setMarketId

      public UfSelection.Builder setMarketId(String value)
      Sets the market ID of the selection.
      Parameters:
      value - The market ID to set.
      Returns:
      The Builder instance.