Class MatchmakingRuleSetReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.gamelift.MatchmakingRuleSetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchmakingRuleSetReference>
- Enclosing interface:
MatchmakingRuleSetReference
@Stability(Stable)
public static final class MatchmakingRuleSetReference.Builder
extends Object
implements software.amazon.jsii.Builder<MatchmakingRuleSetReference>
A builder for
MatchmakingRuleSetReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchmakingRuleSetArn(String matchmakingRuleSetArn) Sets the value ofMatchmakingRuleSetReference.getMatchmakingRuleSetArn()matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetReference.getMatchmakingRuleSetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchmakingRuleSetArn
@Stability(Stable) public MatchmakingRuleSetReference.Builder matchmakingRuleSetArn(String matchmakingRuleSetArn) Sets the value ofMatchmakingRuleSetReference.getMatchmakingRuleSetArn()- Parameters:
matchmakingRuleSetArn- The ARN of the MatchmakingRuleSet resource. This parameter is required.- Returns:
this
-
matchmakingRuleSetName
@Stability(Stable) public MatchmakingRuleSetReference.Builder matchmakingRuleSetName(String matchmakingRuleSetName) Sets the value ofMatchmakingRuleSetReference.getMatchmakingRuleSetName()- Parameters:
matchmakingRuleSetName- The Name of the MatchmakingRuleSet resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MatchmakingRuleSetReference>- Returns:
- a new instance of
MatchmakingRuleSetReference - Throws:
NullPointerException- if any required attribute was not provided
-