Class MatchmakingRuleSetAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.MatchmakingRuleSetAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchmakingRuleSetAttributes>
- Enclosing interface:
MatchmakingRuleSetAttributes
@Stability(Experimental)
public static final class MatchmakingRuleSetAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<MatchmakingRuleSetAttributes>
A builder for
MatchmakingRuleSetAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchmakingRuleSetArn(String matchmakingRuleSetArn) Sets the value ofMatchmakingRuleSetAttributes.getMatchmakingRuleSetArn()matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetAttributes.getMatchmakingRuleSetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchmakingRuleSetArn
@Stability(Experimental) public MatchmakingRuleSetAttributes.Builder matchmakingRuleSetArn(String matchmakingRuleSetArn) Sets the value ofMatchmakingRuleSetAttributes.getMatchmakingRuleSetArn()- Parameters:
matchmakingRuleSetArn- The ARN of the matchmaking ruleSet. At least one ofmatchmakingRuleSetArnandmatchmakingRuleSetNamemust be provided.- Returns:
this
-
matchmakingRuleSetName
@Stability(Experimental) public MatchmakingRuleSetAttributes.Builder matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetAttributes.getMatchmakingRuleSetName()- Parameters:
matchmakingRuleSetName- The unique name of the matchmaking ruleSet. At least one ofruleSetNameandmatchmakingRuleSetArnmust be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MatchmakingRuleSetAttributes>- Returns:
- a new instance of
MatchmakingRuleSetAttributes - Throws:
NullPointerException- if any required attribute was not provided
-