Class MatchmakingRuleSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.MatchmakingRuleSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchmakingRuleSetProps>
- Enclosing interface:
MatchmakingRuleSetProps
@Stability(Experimental)
public static final class MatchmakingRuleSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<MatchmakingRuleSetProps>
A builder for
MatchmakingRuleSetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.content(RuleSetContent content) Sets the value ofMatchmakingRuleSetProps.getContent()matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetProps.getMatchmakingRuleSetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofMatchmakingRuleSetProps.getContent()- Parameters:
content- A collection of matchmaking rules. This parameter is required.- Returns:
this
-
matchmakingRuleSetName
@Stability(Experimental) public MatchmakingRuleSetProps.Builder matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetProps.getMatchmakingRuleSetName()- Parameters:
matchmakingRuleSetName- A unique identifier for the matchmaking rule set. This parameter is required. 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
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MatchmakingRuleSetProps>- Returns:
- a new instance of
MatchmakingRuleSetProps - Throws:
NullPointerException- if any required attribute was not provided
-