Class GameliftAliasRoutingStrategy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.gamelift_alias.GameliftAliasRoutingStrategy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GameliftAliasRoutingStrategy>
- Enclosing interface:
- GameliftAliasRoutingStrategy
@Stability(Stable) public static final class GameliftAliasRoutingStrategy.Builder extends Object implements software.amazon.jsii.Builder<GameliftAliasRoutingStrategy>
A builder forGameliftAliasRoutingStrategy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameliftAliasRoutingStrategybuild()Builds the configured instance.GameliftAliasRoutingStrategy.BuilderfleetId(String fleetId)Sets the value ofGameliftAliasRoutingStrategy.getFleetId()GameliftAliasRoutingStrategy.Buildermessage(String message)Sets the value ofGameliftAliasRoutingStrategy.getMessage()GameliftAliasRoutingStrategy.Buildertype(String type)Sets the value ofGameliftAliasRoutingStrategy.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public GameliftAliasRoutingStrategy.Builder type(String type)
Sets the value ofGameliftAliasRoutingStrategy.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_alias#type GameliftAlias#type}. This parameter is required.- Returns:
this
-
fleetId
@Stability(Stable) public GameliftAliasRoutingStrategy.Builder fleetId(String fleetId)
Sets the value ofGameliftAliasRoutingStrategy.getFleetId()- Parameters:
fleetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_alias#fleet_id GameliftAlias#fleet_id}.- Returns:
this
-
message
@Stability(Stable) public GameliftAliasRoutingStrategy.Builder message(String message)
Sets the value ofGameliftAliasRoutingStrategy.getMessage()- Parameters:
message- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/gamelift_alias#message GameliftAlias#message}.- Returns:
this
-
build
@Stability(Stable) public GameliftAliasRoutingStrategy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GameliftAliasRoutingStrategy>- Returns:
- a new instance of
GameliftAliasRoutingStrategy - Throws:
NullPointerException- if any required attribute was not provided
-
-