Class MatchmakingConfigurationAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.MatchmakingConfigurationAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MatchmakingConfigurationAttributes>
- Enclosing interface:
MatchmakingConfigurationAttributes
@Stability(Experimental)
public static final class MatchmakingConfigurationAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<MatchmakingConfigurationAttributes>
A builder for
MatchmakingConfigurationAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchmakingConfigurationArn(String matchmakingConfigurationArn) Sets the value ofMatchmakingConfigurationAttributes.getMatchmakingConfigurationArn()matchmakingConfigurationName(String matchmakingConfigurationName) Sets the value ofMatchmakingConfigurationAttributes.getMatchmakingConfigurationName()notificationTarget(ITopic notificationTarget) Sets the value ofMatchmakingConfigurationAttributes.getNotificationTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchmakingConfigurationArn
@Stability(Experimental) public MatchmakingConfigurationAttributes.Builder matchmakingConfigurationArn(String matchmakingConfigurationArn) Sets the value ofMatchmakingConfigurationAttributes.getMatchmakingConfigurationArn()- Parameters:
matchmakingConfigurationArn- The ARN of the Matchmaking configuration. At least one ofmatchmakingConfigurationArnandmatchmakingConfigurationNamemust be provided.- Returns:
this
-
matchmakingConfigurationName
@Stability(Experimental) public MatchmakingConfigurationAttributes.Builder matchmakingConfigurationName(String matchmakingConfigurationName) Sets the value ofMatchmakingConfigurationAttributes.getMatchmakingConfigurationName()- Parameters:
matchmakingConfigurationName- The identifier of the Matchmaking configuration. At least one ofmatchmakingConfigurationNameandmatchmakingConfigurationArnmust be provided.- Returns:
this
-
notificationTarget
@Stability(Experimental) public MatchmakingConfigurationAttributes.Builder notificationTarget(ITopic notificationTarget) Sets the value ofMatchmakingConfigurationAttributes.getNotificationTarget()- Parameters:
notificationTarget- An SNS topic ARN that is set up to receive matchmaking notifications.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MatchmakingConfigurationAttributes>- Returns:
- a new instance of
MatchmakingConfigurationAttributes - Throws:
NullPointerException- if any required attribute was not provided
-