Class LobbySummaryAnalytics.Builder
- java.lang.Object
-
- com.rivet.api.resources.cloud.common.types.LobbySummaryAnalytics.Builder
-
- All Implemented Interfaces:
LobbySummaryAnalytics._FinalStage,LobbySummaryAnalytics.CreateTsStage,LobbySummaryAnalytics.IsClosedStage,LobbySummaryAnalytics.IsIdleStage,LobbySummaryAnalytics.IsOutdatedStage,LobbySummaryAnalytics.IsReadyStage,LobbySummaryAnalytics.LobbyGroupIdStage,LobbySummaryAnalytics.LobbyGroupNameIdStage,LobbySummaryAnalytics.LobbyIdStage,LobbySummaryAnalytics.MaxPlayersDirectStage,LobbySummaryAnalytics.MaxPlayersNormalStage,LobbySummaryAnalytics.MaxPlayersPartyStage,LobbySummaryAnalytics.RegionIdStage,LobbySummaryAnalytics.RegisteredPlayerCountStage,LobbySummaryAnalytics.TotalPlayerCountStage
- Enclosing class:
- LobbySummaryAnalytics
public static final class LobbySummaryAnalytics.Builder extends java.lang.Object implements LobbySummaryAnalytics.LobbyIdStage, LobbySummaryAnalytics.LobbyGroupIdStage, LobbySummaryAnalytics.LobbyGroupNameIdStage, LobbySummaryAnalytics.RegionIdStage, LobbySummaryAnalytics.CreateTsStage, LobbySummaryAnalytics.IsReadyStage, LobbySummaryAnalytics.IsIdleStage, LobbySummaryAnalytics.IsClosedStage, LobbySummaryAnalytics.IsOutdatedStage, LobbySummaryAnalytics.MaxPlayersNormalStage, LobbySummaryAnalytics.MaxPlayersDirectStage, LobbySummaryAnalytics.MaxPlayersPartyStage, LobbySummaryAnalytics.TotalPlayerCountStage, LobbySummaryAnalytics.RegisteredPlayerCountStage, LobbySummaryAnalytics._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public LobbySummaryAnalytics.Builder from(LobbySummaryAnalytics other)
- Specified by:
fromin interfaceLobbySummaryAnalytics.LobbyIdStage
-
lobbyId
public LobbySummaryAnalytics.LobbyGroupIdStage lobbyId(java.util.UUID lobbyId)
- Specified by:
lobbyIdin interfaceLobbySummaryAnalytics.LobbyIdStage
-
lobbyGroupId
public LobbySummaryAnalytics.LobbyGroupNameIdStage lobbyGroupId(java.util.UUID lobbyGroupId)
- Specified by:
lobbyGroupIdin interfaceLobbySummaryAnalytics.LobbyGroupIdStage
-
lobbyGroupNameId
public LobbySummaryAnalytics.RegionIdStage lobbyGroupNameId(java.lang.String lobbyGroupNameId)
A human readable short identifier used to references resources. Different than a
rivet.common#Uuidbecause this is intended to be human readable. Different thanrivet.common#DisplayNamebecause this should not include special characters and be short.- Specified by:
lobbyGroupNameIdin interfaceLobbySummaryAnalytics.LobbyGroupNameIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
regionId
public LobbySummaryAnalytics.CreateTsStage regionId(java.util.UUID regionId)
- Specified by:
regionIdin interfaceLobbySummaryAnalytics.RegionIdStage
-
createTs
public LobbySummaryAnalytics.IsReadyStage createTs(java.time.OffsetDateTime createTs)
RFC3339 timestamp.
- Specified by:
createTsin interfaceLobbySummaryAnalytics.CreateTsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isReady
public LobbySummaryAnalytics.IsIdleStage isReady(boolean isReady)
Whether or not this lobby is ready.
- Specified by:
isReadyin interfaceLobbySummaryAnalytics.IsReadyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isIdle
public LobbySummaryAnalytics.IsClosedStage isIdle(boolean isIdle)
Whether or not this lobby is idle.
- Specified by:
isIdlein interfaceLobbySummaryAnalytics.IsIdleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isClosed
public LobbySummaryAnalytics.IsOutdatedStage isClosed(boolean isClosed)
Whether or not this lobby is in a closed state.
- Specified by:
isClosedin interfaceLobbySummaryAnalytics.IsClosedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isOutdated
public LobbySummaryAnalytics.MaxPlayersNormalStage isOutdated(boolean isOutdated)
Whether or not this lobby is outdated.
- Specified by:
isOutdatedin interfaceLobbySummaryAnalytics.IsOutdatedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersNormal
public LobbySummaryAnalytics.MaxPlayersDirectStage maxPlayersNormal(int maxPlayersNormal)
Unsigned 32 bit integer.
- Specified by:
maxPlayersNormalin interfaceLobbySummaryAnalytics.MaxPlayersNormalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersDirect
public LobbySummaryAnalytics.MaxPlayersPartyStage maxPlayersDirect(int maxPlayersDirect)
Unsigned 32 bit integer.
- Specified by:
maxPlayersDirectin interfaceLobbySummaryAnalytics.MaxPlayersDirectStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
maxPlayersParty
public LobbySummaryAnalytics.TotalPlayerCountStage maxPlayersParty(int maxPlayersParty)
Unsigned 32 bit integer.
- Specified by:
maxPlayersPartyin interfaceLobbySummaryAnalytics.MaxPlayersPartyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalPlayerCount
public LobbySummaryAnalytics.RegisteredPlayerCountStage totalPlayerCount(int totalPlayerCount)
Unsigned 32 bit integer.
- Specified by:
totalPlayerCountin interfaceLobbySummaryAnalytics.TotalPlayerCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
registeredPlayerCount
public LobbySummaryAnalytics._FinalStage registeredPlayerCount(int registeredPlayerCount)
Unsigned 32 bit integer.
- Specified by:
registeredPlayerCountin interfaceLobbySummaryAnalytics.RegisteredPlayerCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public LobbySummaryAnalytics build()
- Specified by:
buildin interfaceLobbySummaryAnalytics._FinalStage
-
-