@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.DestinationType
public String getDestinationType()
The type of destination for the route.
DestinationType
public Route withDestinationType(String destinationType)
The type of destination for the route.
destinationType
- The type of destination for the route.DestinationType
public Route withDestinationType(DestinationType destinationType)
The type of destination for the route.
destinationType
- The type of destination for the route.DestinationType
public void setTargetType(String targetType)
The type of target for the route.
targetType
- The type of target for the route.TargetType
public String getTargetType()
The type of target for the route.
TargetType
public Route withTargetType(String targetType)
The type of target for the route.
targetType
- The type of target for the route.TargetType
public Route withTargetType(TargetType targetType)
The type of target for the route.
targetType
- The type of target for the route.TargetType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.