@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoutingStrategy extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
RoutingStrategy() |
Modifier and Type | Method and Description |
---|---|
RoutingStrategy |
clone() |
boolean |
equals(Object obj) |
String |
getFleetId()
A unique identifier for the fleet that the alias points to.
|
String |
getMessage()
The message text to be used with a terminal routing strategy.
|
String |
getType()
The type of routing strategy for the alias.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFleetId(String fleetId)
A unique identifier for the fleet that the alias points to.
|
void |
setMessage(String message)
The message text to be used with a terminal routing strategy.
|
void |
setType(RoutingStrategyType type)
The type of routing strategy for the alias.
|
void |
setType(String type)
The type of routing strategy for the alias.
|
String |
toString()
Returns a string representation of this object.
|
RoutingStrategy |
withFleetId(String fleetId)
A unique identifier for the fleet that the alias points to.
|
RoutingStrategy |
withMessage(String message)
The message text to be used with a terminal routing strategy.
|
RoutingStrategy |
withType(RoutingStrategyType type)
The type of routing strategy for the alias.
|
RoutingStrategy |
withType(String type)
The type of routing strategy for the alias.
|
public void setType(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.
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.
RoutingStrategyType
public String getType()
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.
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.
RoutingStrategyType
public RoutingStrategy withType(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.
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.
RoutingStrategyType
public void setType(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.
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.
RoutingStrategyType
public RoutingStrategy withType(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.
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.
RoutingStrategyType
public void setFleetId(String fleetId)
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
fleetId
- A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.public String getFleetId()
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
public RoutingStrategy withFleetId(String fleetId)
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
fleetId
- A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.public void setMessage(String message)
The message text to be used with a terminal routing strategy.
message
- The message text to be used with a terminal routing strategy.public String getMessage()
The message text to be used with a terminal routing strategy.
public RoutingStrategy withMessage(String message)
The message text to be used with a terminal routing strategy.
message
- The message text to be used with a terminal routing strategy.public String toString()
toString
in class Object
Object.toString()
public RoutingStrategy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.