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