Class Alias.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.alpha.Alias.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Alias>
- Enclosing class:
Alias
@Stability(Experimental)
public static final class Alias.Builder
extends Object
implements software.amazon.jsii.Builder<Alias>
(experimental) A fluent builder for
Alias
.-
Method Summary
Modifier and TypeMethodDescription(experimental) Name of this alias.build()
static Alias.Builder
description
(String description) (experimental) A human-readable description of the alias.(experimental) A fleet that the alias points to.terminalMessage
(String terminalMessage) (experimental) The message text to be used with a terminal routing strategy.
-
Method Details
-
create
@Stability(Experimental) public static Alias.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Alias.Builder
.
-
aliasName
(experimental) Name of this alias.- Parameters:
aliasName
- Name of this alias. This parameter is required.- Returns:
this
-
description
(experimental) A human-readable description of the alias.Default: no description
- Parameters:
description
- A human-readable description of the alias. This parameter is required.- Returns:
this
-
fleet
(experimental) A fleet that the alias points to. If specified, the alias resolves to one specific fleet.At least one of
fleet
andterminalMessage
must be provided.Default: no fleet that the alias points to.
- Parameters:
fleet
- A fleet that the alias points to. If specified, the alias resolves to one specific fleet. This parameter is required.- Returns:
this
-
terminalMessage
(experimental) The message text to be used with a terminal routing strategy.At least one of
fleet
andterminalMessage
must be provided.Default: no terminal message
- Parameters:
terminalMessage
- The message text to be used with a terminal routing strategy. This parameter is required.- Returns:
this
-
build
-