public class RoutingStrategy
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Routing configuration for a fleet alias.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fleetId
Unique identifier for a fleet.
|
private java.lang.String |
message
Message text to be used with a terminal routing strategy.
|
private java.lang.String |
type
Type of routing strategy.
|
Constructor and Description |
---|
RoutingStrategy() |
Modifier and Type | Method and Description |
---|---|
RoutingStrategy |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFleetId()
Unique identifier for a fleet.
|
java.lang.String |
getMessage()
Message text to be used with a terminal routing strategy.
|
java.lang.String |
getType()
Type of routing strategy.
|
int |
hashCode() |
void |
setFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
void |
setMessage(java.lang.String message)
Message text to be used with a terminal routing strategy.
|
void |
setType(RoutingStrategyType type)
Type of routing strategy.
|
void |
setType(java.lang.String type)
Type of routing strategy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RoutingStrategy |
withFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
|
RoutingStrategy |
withMessage(java.lang.String message)
Message text to be used with a terminal routing strategy.
|
RoutingStrategy |
withType(RoutingStrategyType type)
Type of routing strategy.
|
RoutingStrategy |
withType(java.lang.String type)
Type of routing strategy.
|
private java.lang.String type
Type of routing strategy. Possible routing types include:
private java.lang.String fleetId
Unique identifier for a fleet.
private java.lang.String message
Message text to be used with a terminal routing strategy.
public void setType(java.lang.String type)
Type of routing strategy. Possible routing types include:
type
- Type of routing strategy. Possible routing types include:
RoutingStrategyType
public java.lang.String getType()
Type of routing strategy. Possible routing types include:
RoutingStrategyType
public RoutingStrategy withType(java.lang.String type)
Type of routing strategy. Possible routing types include:
type
- Type of routing strategy. Possible routing types include:
RoutingStrategyType
public void setType(RoutingStrategyType type)
Type of routing strategy. Possible routing types include:
type
- Type of routing strategy. Possible routing types include:
RoutingStrategyType
public RoutingStrategy withType(RoutingStrategyType type)
Type of routing strategy. Possible routing types include:
type
- Type of routing strategy. Possible routing types include:
RoutingStrategyType
public void setFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public java.lang.String getFleetId()
Unique identifier for a fleet.
public RoutingStrategy withFleetId(java.lang.String fleetId)
Unique identifier for a fleet.
fleetId
- Unique identifier for a fleet.public void setMessage(java.lang.String message)
Message text to be used with a terminal routing strategy.
message
- Message text to be used with a terminal routing strategy.public java.lang.String getMessage()
Message text to be used with a terminal routing strategy.
public RoutingStrategy withMessage(java.lang.String message)
Message text to be used with a terminal routing strategy.
message
- Message text to be used with a terminal routing strategy.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RoutingStrategy clone()
clone
in class java.lang.Object