Interface RoutingStrategy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingStrategy.Builder,
,RoutingStrategy> SdkBuilder<RoutingStrategy.Builder,
,RoutingStrategy> SdkPojo
- Enclosing class:
RoutingStrategy
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for the fleet that the alias points to.The message text to be used with a terminal routing strategy.The type of routing strategy for the alias.type
(RoutingStrategyType type) The type of routing strategy for the alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of routing strategy for the alias.
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 message embedded.
- Parameters:
type
- The type of routing strategy for the alias.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 message embedded.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of routing strategy for the alias.
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 message embedded.
- Parameters:
type
- The type of routing strategy for the alias.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 message embedded.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
fleetId
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
- Parameters:
fleetId
- A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The message text to be used with a terminal routing strategy.
- Parameters:
message
- The message text to be used with a terminal routing strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-