Class GameLiftMatchmakingEvent.GameSessionInfoItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.gamelift.events.GameLiftMatchmakingEvent.GameSessionInfoItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameSessionInfoItem>
- Enclosing interface:
GameLiftMatchmakingEvent.GameSessionInfoItem
@Stability(Experimental)
public static final class GameLiftMatchmakingEvent.GameSessionInfoItem.Builder
extends Object
implements software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameSessionInfoItem>
A builder for
GameLiftMatchmakingEvent.GameSessionInfoItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGameLiftMatchmakingEvent.GameSessionInfoItem.getPlayerId()Sets the value ofGameLiftMatchmakingEvent.GameSessionInfoItem.getTeam()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
playerId
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfoItem.Builder playerId(List<String> playerId) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfoItem.getPlayerId()- Parameters:
playerId- playerId property. Specify an array of string values to match this event if the actual value of playerId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
team
@Stability(Experimental) public GameLiftMatchmakingEvent.GameSessionInfoItem.Builder team(List<String> team) Sets the value ofGameLiftMatchmakingEvent.GameSessionInfoItem.getTeam()- Parameters:
team- team property. Specify an array of string values to match this event if the actual value of team 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.GameSessionInfoItem>- Returns:
- a new instance of
GameLiftMatchmakingEvent.GameSessionInfoItem - Throws:
NullPointerException- if any required attribute was not provided
-