Class MatchmakingRuleSet.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.MatchmakingRuleSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchmakingRuleSet>
- Enclosing class:
MatchmakingRuleSet
@Stability(Experimental)
public static final class MatchmakingRuleSet.Builder
extends Object
implements software.amazon.jsii.Builder<MatchmakingRuleSet>
(experimental) A fluent builder for
MatchmakingRuleSet.-
Method Summary
Modifier and TypeMethodDescriptionbuild()content(RuleSetContent content) (experimental) A collection of matchmaking rules.static MatchmakingRuleSet.BuildermatchmakingRuleSetName(String matchmakingRuleSetName) (experimental) A unique identifier for the matchmaking rule set.
-
Method Details
-
create
@Stability(Experimental) public static MatchmakingRuleSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
MatchmakingRuleSet.Builder.
-
content
(experimental) A collection of matchmaking rules.- Parameters:
content- A collection of matchmaking rules. This parameter is required.- Returns:
this
-
matchmakingRuleSetName
@Stability(Experimental) public MatchmakingRuleSet.Builder matchmakingRuleSetName(String matchmakingRuleSetName) (experimental) A unique identifier for the matchmaking rule set.A matchmaking configuration identifies the rule set it uses by this name value.
Note: the rule set name is different from the optional name field in the rule set body
- Parameters:
matchmakingRuleSetName- A unique identifier for the matchmaking rule set. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MatchmakingRuleSet>- Returns:
- a newly built instance of
MatchmakingRuleSet.
-