@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Route extends Object implements Serializable, Cloneable, StructuredPojo
Describes a route in a route table.
| Constructor and Description |
|---|
Route() |
| Modifier and Type | Method and Description |
|---|---|
Route |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The destination of the route.
|
String |
getDestinationType()
The type of destination for the route.
|
String |
getTarget()
The route's target.
|
String |
getTargetType()
The type of target for the route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestination(String destination)
The destination of the route.
|
void |
setDestinationType(String destinationType)
The type of destination for the route.
|
void |
setTarget(String target)
The route's target.
|
void |
setTargetType(String targetType)
The type of target for the route.
|
String |
toString()
Returns a string representation of this object.
|
Route |
withDestination(String destination)
The destination of the route.
|
Route |
withDestinationType(DestinationType destinationType)
The type of destination for the route.
|
Route |
withDestinationType(String destinationType)
The type of destination for the route.
|
Route |
withTarget(String target)
The route's target.
|
Route |
withTargetType(String targetType)
The type of target for the route.
|
Route |
withTargetType(TargetType targetType)
The type of target for the route.
|
public void setDestinationType(String destinationType)
The type of destination for the route.
destinationType - The type of destination for the route.DestinationTypepublic String getDestinationType()
The type of destination for the route.
DestinationTypepublic Route withDestinationType(String destinationType)
The type of destination for the route.
destinationType - The type of destination for the route.DestinationTypepublic Route withDestinationType(DestinationType destinationType)
The type of destination for the route.
destinationType - The type of destination for the route.DestinationTypepublic void setTargetType(String targetType)
The type of target for the route.
targetType - The type of target for the route.TargetTypepublic String getTargetType()
The type of target for the route.
TargetTypepublic Route withTargetType(String targetType)
The type of target for the route.
targetType - The type of target for the route.TargetTypepublic Route withTargetType(TargetType targetType)
The type of target for the route.
targetType - The type of target for the route.TargetTypepublic void setDestination(String destination)
The destination of the route.
destination - The destination of the route.public String getDestination()
The destination of the route.
public Route withDestination(String destination)
The destination of the route.
destination - The destination of the route.public void setTarget(String target)
The route's target.
target - The route's target.public String getTarget()
The route's target.
public Route withTarget(String target)
The route's target.
target - The route's target.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.