CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>, SdkBuilder<RoutingStrategy.Builder,RoutingStrategy>public static interface RoutingStrategy.Builder extends CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>
| Modifier and Type | Method | Description |
|---|---|---|
RoutingStrategy.Builder |
fleetId(String fleetId) |
Unique identifier for a fleet that the alias points to.
|
RoutingStrategy.Builder |
message(String message) |
Message text to be used with a terminal routing strategy.
|
RoutingStrategy.Builder |
type(String type) |
Type of routing strategy.
|
RoutingStrategy.Builder |
type(RoutingStrategyType type) |
Type of routing strategy.
|
copyapply, buildRoutingStrategy.Builder type(String type)
Type of routing strategy.
Possible routing types include the following:
SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
type - Type of routing strategy.
Possible routing types include the following:
SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
RoutingStrategyTypeRoutingStrategy.Builder type(RoutingStrategyType type)
Type of routing strategy.
Possible routing types include the following:
SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
type - Type of routing strategy.
Possible routing types include the following:
SIMPLE – The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL – The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
RoutingStrategyTypeRoutingStrategy.Builder fleetId(String fleetId)
Unique identifier for a fleet that the alias points to.
fleetId - Unique identifier for a fleet that the alias points to.RoutingStrategy.Builder message(String message)
Message text to be used with a terminal routing strategy.
message - Message text to be used with a terminal routing strategy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.