Class CfnAlias.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnAlias.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlias>
- Enclosing class:
CfnAlias
@Stability(Stable)
public static final class CfnAlias.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlias>
A fluent builder for
CfnAlias
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnAlias.Builder
description
(String description) A human-readable description of the alias.A descriptive label that is associated with an alias.routingStrategy
(IResolvable routingStrategy) The routing configuration, including routing type and fleet target, for the alias.routingStrategy
(CfnAlias.RoutingStrategyProperty routingStrategy) The routing configuration, including routing type and fleet target, for the alias.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnAlias.Builder
.
-
name
A descriptive label that is associated with an alias.Alias names do not need to be unique.
- Parameters:
name
- A descriptive label that is associated with an alias. This parameter is required.- Returns:
this
-
routingStrategy
@Stability(Stable) public CfnAlias.Builder routingStrategy(CfnAlias.RoutingStrategyProperty routingStrategy) The routing configuration, including routing type and fleet target, for the alias.- Parameters:
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias. This parameter is required.- Returns:
this
-
routingStrategy
The routing configuration, including routing type and fleet target, for the alias.- Parameters:
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias. This parameter is required.- Returns:
this
-
description
A human-readable description of the alias.- Parameters:
description
- A human-readable description of the alias. This parameter is required.- Returns:
this
-
build
-