@Stability(value=Stable) public static final class CfnAlias.RoutingStrategyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAlias.RoutingStrategyProperty>
CfnAlias.RoutingStrategyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlias.RoutingStrategyProperty |
build()
Builds the configured instance.
|
CfnAlias.RoutingStrategyProperty.Builder |
fleetId(String fleetId)
Sets the value of
CfnAlias.RoutingStrategyProperty.getFleetId() |
CfnAlias.RoutingStrategyProperty.Builder |
message(String message)
Sets the value of
CfnAlias.RoutingStrategyProperty.getMessage() |
CfnAlias.RoutingStrategyProperty.Builder |
type(String type)
Sets the value of
CfnAlias.RoutingStrategyProperty.getType() |
@Stability(value=Stable) public CfnAlias.RoutingStrategyProperty.Builder type(String type)
CfnAlias.RoutingStrategyProperty.getType()type - A type of routing strategy. This parameter is required.
Possible routing types include the following:
TerminalRoutingStrategyException with the message that you specified in the Message property.this@Stability(value=Stable) public CfnAlias.RoutingStrategyProperty.Builder fleetId(String fleetId)
CfnAlias.RoutingStrategyProperty.getFleetId()fleetId - A unique identifier for a fleet that the alias points to.
If you specify SIMPLE for the Type property, you must specify this property.this@Stability(value=Stable) public CfnAlias.RoutingStrategyProperty.Builder message(String message)
CfnAlias.RoutingStrategyProperty.getMessage()message - The message text to be used with a terminal routing strategy.
If you specify TERMINAL for the Type property, you must specify this property.this@Stability(value=Stable) public CfnAlias.RoutingStrategyProperty build()
build in interface software.amazon.jsii.Builder<CfnAlias.RoutingStrategyProperty>CfnAlias.RoutingStrategyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.