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