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