Class GameLiftMatchmakingEvent.GameSessionInfo.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.gamelift.events.GameLiftMatchmakingEvent.GameSessionInfo.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameSessionInfo>
- Enclosing interface:
GameLiftMatchmakingEvent.GameSessionInfo
@Stability(Experimental)
public static final class GameLiftMatchmakingEvent.GameSessionInfo.Builder
extends Object
implements software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameSessionInfo>
A builder for
GameLiftMatchmakingEvent.GameSessionInfo-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gameSessionArn(List<String> gameSessionArn) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getGameSessionArn()Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getIpAddress()players(List<? extends GameLiftMatchmakingEvent.GameSessionInfoItem> players) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getPlayers()Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gameSessionArn
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfo.Builder gameSessionArn(List<String> gameSessionArn) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getGameSessionArn()- Parameters:
gameSessionArn- gameSessionArn property. Specify an array of string values to match this event if the actual value of gameSessionArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ipAddress
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfo.Builder ipAddress(List<String> ipAddress) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getIpAddress()- Parameters:
ipAddress- ipAddress property. Specify an array of string values to match this event if the actual value of ipAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
players
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfo.Builder players(List<? extends GameLiftMatchmakingEvent.GameSessionInfoItem> players) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getPlayers()- Parameters:
players- players property. Specify an array of string values to match this event if the actual value of players is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
port
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfo.Builder port(List<String> port) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfo.getPort()- Parameters:
port- port property. Specify an array of string values to match this event if the actual value of port is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameSessionInfo>- Returns:
- a new instance of
GameLiftMatchmakingEvent.GameSessionInfo - Throws:
NullPointerException- if any required attribute was not provided
-