@Generated(value="software.amazon.awssdk:codegen") public class RoutingStrategy extends Object implements StructuredPojo, ToCopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>
Routing configuration for a fleet alias.
Fleet-related operations include:
Describe fleets:
Update fleets:
Manage fleet capacity:
PutScalingPolicy (automatic scaling)
DescribeScalingPolicies (automatic scaling)
DeleteScalingPolicy (automatic scaling)
| Modifier and Type | Class and Description |
|---|---|
static interface |
RoutingStrategy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RoutingStrategy.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fleetId()
Unique identifier for a fleet that the alias points to.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
message()
Message text to be used with a terminal routing strategy.
|
static Class<? extends RoutingStrategy.Builder> |
serializableBuilderClass() |
RoutingStrategy.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
RoutingStrategyType |
type()
Type of routing strategy.
|
String |
typeAsString()
Type of routing strategy.
|
copypublic 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.
If the service returns an enum value that is not available in the current SDK version, type will return
RoutingStrategyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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.
RoutingStrategyTypepublic String typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, type will return
RoutingStrategyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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.
RoutingStrategyTypepublic String fleetId()
Unique identifier for a fleet that the alias points to.
public String message()
Message text to be used with a terminal routing strategy.
public RoutingStrategy.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RoutingStrategy.Builder,RoutingStrategy>public static RoutingStrategy.Builder builder()
public static Class<? extends RoutingStrategy.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.