Interface RoutingStrategy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>,SdkBuilder<RoutingStrategy.Builder,RoutingStrategy>,SdkPojo
- Enclosing class:
- RoutingStrategy
public static interface RoutingStrategy.Builder extends SdkPojo, CopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoutingStrategy.BuilderfleetId(String fleetId)A unique identifier for the fleet that the alias points to.RoutingStrategy.Buildermessage(String message)The message text to be used with a terminal routing strategy.RoutingStrategy.Buildertype(String type)The type of routing strategy for the alias.RoutingStrategy.Buildertype(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 Detail
-
type
RoutingStrategy.Builder type(String 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:
RoutingStrategyType,RoutingStrategyType
-
-
type
RoutingStrategy.Builder type(RoutingStrategyType 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:
RoutingStrategyType,RoutingStrategyType
-
-
fleetId
RoutingStrategy.Builder fleetId(String 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
RoutingStrategy.Builder message(String 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.
-
-