Class JoinLobby.Builder
- java.lang.Object
-
- com.rivet.api.resources.matchmaker.common.types.JoinLobby.Builder
-
- All Implemented Interfaces:
JoinLobby._FinalStage,JoinLobby.LobbyIdStage,JoinLobby.PlayerStage,JoinLobby.RegionStage
- Enclosing class:
- JoinLobby
public static final class JoinLobby.Builder extends java.lang.Object implements JoinLobby.LobbyIdStage, JoinLobby.RegionStage, JoinLobby.PlayerStage, JoinLobby._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinLobbybuild()JoinLobby.Builderfrom(JoinLobby other)JoinLobby.RegionStagelobbyId(java.util.UUID lobbyId)JoinLobby._FinalStageplayer(JoinPlayer player)DeprecatedJoinLobby._FinalStageports(java.lang.String key, JoinPort value)DeprecatedJoinLobby._FinalStageports(java.util.Map<java.lang.String,JoinPort> ports)JoinLobby._FinalStageputAllPorts(java.util.Map<java.lang.String,JoinPort> ports)DeprecatedJoinLobby.PlayerStageregion(JoinRegion region)
-
-
-
Method Detail
-
from
public JoinLobby.Builder from(JoinLobby other)
- Specified by:
fromin interfaceJoinLobby.LobbyIdStage
-
lobbyId
public JoinLobby.RegionStage lobbyId(java.util.UUID lobbyId)
- Specified by:
lobbyIdin interfaceJoinLobby.LobbyIdStage
-
region
public JoinLobby.PlayerStage region(JoinRegion region)
- Specified by:
regionin interfaceJoinLobby.RegionStage
-
player
public JoinLobby._FinalStage player(JoinPlayer player)
Deprecated
- Specified by:
playerin interfaceJoinLobby.PlayerStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ports
public JoinLobby._FinalStage ports(java.lang.String key, JoinPort value)
Deprecated
- Specified by:
portsin interfaceJoinLobby._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
putAllPorts
public JoinLobby._FinalStage putAllPorts(java.util.Map<java.lang.String,JoinPort> ports)
Deprecated
- Specified by:
putAllPortsin interfaceJoinLobby._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ports
public JoinLobby._FinalStage ports(java.util.Map<java.lang.String,JoinPort> ports)
- Specified by:
portsin interfaceJoinLobby._FinalStage
-
build
public JoinLobby build()
- Specified by:
buildin interfaceJoinLobby._FinalStage
-
-