Class GameSessionQueueAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.GameSessionQueueAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameSessionQueueAttributes>
- Enclosing interface:
GameSessionQueueAttributes
@Stability(Experimental)
public static final class GameSessionQueueAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<GameSessionQueueAttributes>
A builder for
GameSessionQueueAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gameSessionQueueArn(String gameSessionQueueArn) Sets the value ofGameSessionQueueAttributes.getGameSessionQueueArn()gameSessionQueueName(String gameSessionQueueName) Sets the value ofGameSessionQueueAttributes.getGameSessionQueueName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gameSessionQueueArn
@Stability(Experimental) public GameSessionQueueAttributes.Builder gameSessionQueueArn(String gameSessionQueueArn) Sets the value ofGameSessionQueueAttributes.getGameSessionQueueArn()- Parameters:
gameSessionQueueArn- The ARN of the gameSessionQueue. At least one ofgameSessionQueueArnandgameSessionQueueNamemust be provided.- Returns:
this
-
gameSessionQueueName
@Stability(Experimental) public GameSessionQueueAttributes.Builder gameSessionQueueName(String gameSessionQueueName) Sets the value ofGameSessionQueueAttributes.getGameSessionQueueName()- Parameters:
gameSessionQueueName- The name of the gameSessionQueue. At least one ofgameSessionQueueNameandgameSessionQueueArnmust be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GameSessionQueueAttributes>- Returns:
- a new instance of
GameSessionQueueAttributes - Throws:
NullPointerException- if any required attribute was not provided
-