public static final class CfnAliasProps.Builder
extends java.lang.Object
CfnAliasProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAliasProps |
build()
Builds the configured instance.
|
CfnAliasProps.Builder |
description(java.lang.String description)
Sets the value of
CfnAliasProps.getDescription() |
CfnAliasProps.Builder |
name(java.lang.String name)
Sets the value of
CfnAliasProps.getName() |
CfnAliasProps.Builder |
routingStrategy(CfnAlias.RoutingStrategyProperty routingStrategy)
Sets the value of
CfnAliasProps.getRoutingStrategy() |
CfnAliasProps.Builder |
routingStrategy(IResolvable routingStrategy)
Sets the value of
CfnAliasProps.getRoutingStrategy() |
public CfnAliasProps.Builder name(java.lang.String name)
CfnAliasProps.getName()
name
- A descriptive label that is associated with an alias. This parameter is required.
Alias names do not need to be unique.this
public CfnAliasProps.Builder routingStrategy(CfnAlias.RoutingStrategyProperty routingStrategy)
CfnAliasProps.getRoutingStrategy()
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias. This parameter is required.this
public CfnAliasProps.Builder routingStrategy(IResolvable routingStrategy)
CfnAliasProps.getRoutingStrategy()
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias. This parameter is required.this
public CfnAliasProps.Builder description(java.lang.String description)
CfnAliasProps.getDescription()
description
- A human-readable description of the alias.this
public CfnAliasProps build()
CfnAliasProps
java.lang.NullPointerException
- if any required attribute was not provided