Class GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.gamelift.events.GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps>
- Enclosing interface:
GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps
@Stability(Experimental)
public static final class GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder
extends Object
implements software.amazon.jsii.Builder<GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps>
A builder for
GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptanceRequired(List<String> acceptanceRequired) acceptanceTimeout(List<String> acceptanceTimeout) build()Builds the configured instance.customEventData(List<String> customEventData) estimatedWaitMillis(List<String> estimatedWaitMillis) eventMetadata(AWSEventMetadataProps eventMetadata) gameSessionInfo(GameLiftMatchmakingEvent.GameSessionInfo gameSessionInfo) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getMatchId()Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getMessage()Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getReason()ruleEvaluationMetrics(List<? extends GameLiftMatchmakingEvent.RuleEvaluationMetrics> ruleEvaluationMetrics) tickets(List<? extends GameLiftMatchmakingEvent.Ticket> tickets) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getTickets()Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptanceRequired
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder acceptanceRequired(List<String> acceptanceRequired) - Parameters:
acceptanceRequired- acceptanceRequired property. Specify an array of string values to match this event if the actual value of acceptanceRequired is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
acceptanceTimeout
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder acceptanceTimeout(List<String> acceptanceTimeout) - Parameters:
acceptanceTimeout- acceptanceTimeout property. Specify an array of string values to match this event if the actual value of acceptanceTimeout is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
customEventData
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder customEventData(List<String> customEventData) - Parameters:
customEventData- customEventData property. Specify an array of string values to match this event if the actual value of customEventData is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
estimatedWaitMillis
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder estimatedWaitMillis(List<String> estimatedWaitMillis) - Parameters:
estimatedWaitMillis- estimatedWaitMillis property. Specify an array of string values to match this event if the actual value of estimatedWaitMillis is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
gameSessionInfo
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder gameSessionInfo(GameLiftMatchmakingEvent.GameSessionInfo gameSessionInfo) - Parameters:
gameSessionInfo- gameSessionInfo property. Specify an array of string values to match this event if the actual value of gameSessionInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
matchId
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder matchId(List<String> matchId) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getMatchId()- Parameters:
matchId- matchId property. Specify an array of string values to match this event if the actual value of matchId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
message
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder message(List<String> message) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getMessage()- Parameters:
message- message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reason
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder reason(List<String> reason) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getReason()- Parameters:
reason- reason property. Specify an array of string values to match this event if the actual value of reason is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ruleEvaluationMetrics
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder ruleEvaluationMetrics(List<? extends GameLiftMatchmakingEvent.RuleEvaluationMetrics> ruleEvaluationMetrics) - Parameters:
ruleEvaluationMetrics- ruleEvaluationMetrics property. Specify an array of string values to match this event if the actual value of ruleEvaluationMetrics is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tickets
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder tickets(List<? extends GameLiftMatchmakingEvent.Ticket> tickets) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getTickets()- Parameters:
tickets- tickets property. Specify an array of string values to match this event if the actual value of tickets is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
@Stability(Experimental) public GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.Builder type(List<String> type) Sets the value ofGameLiftMatchmakingEvent.GameLiftMatchmakingEventProps.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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.GameLiftMatchmakingEventProps>- Returns:
- a new instance of
GameLiftMatchmakingEvent.GameLiftMatchmakingEventProps - Throws:
NullPointerException- if any required attribute was not provided
-