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