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