Class CasinoSession.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.common.CasinoSession.Builder
Enclosing class:
CasinoSession

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

    • build

      public CasinoSession build()
      Builds and returns the CasinoSession instance.
      Returns:
      The built CasinoSession instance.
    • setStake

      public CasinoSession.Builder setStake(Stake... value)
      Sets the stake array for the CasinoSession instance being built.
      Parameters:
      value - The stake array to set.
      Returns:
      The Builder instance.
    • setGame

      public CasinoSession.Builder setGame(CasinoGame value)
      Sets the casino game for the CasinoSession instance being built.
      Parameters:
      value - The casino game to set.
      Returns:
      The Builder instance.
    • setSpins

      public CasinoSession.Builder setSpins(CasinoSpin... value)
      Sets the casino spins array for the CasinoSession instance being built.
      Parameters:
      value - The casino spins array to set.
      Returns:
      The Builder instance.
    • setPayout

      public CasinoSession.Builder setPayout(Payout... value)
      Sets the payout array for the CasinoSession instance being built.
      Parameters:
      value - The payout array to set.
      Returns:
      The Builder instance.
    • setId

      public CasinoSession.Builder setId(String value)
      Sets the ID for the CasinoSession instance being built.
      Parameters:
      value - The ID to set.
      Returns:
      The Builder instance.
    • setStartUtc

      public CasinoSession.Builder setStartUtc(Long value)
      Sets the start time in UTC millis for the CasinoSession instance being built.
      Parameters:
      value - The start time in UTC millis to set.
      Returns:
      The Builder instance.
    • setEndUtc

      public CasinoSession.Builder setEndUtc(Long value)
      Sets the end time in UTC millis for the CasinoSession instance being built.
      Parameters:
      value - The end time in UTC millis to set.
      Returns:
      The Builder instance.