public class Route extends Object implements Serializable
| Constructor and Description |
|---|
Route() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
Returns the value of the DestinationCidrBlock property for this
object.
|
String |
getGatewayId()
Returns the value of the GatewayId property for this object.
|
String |
getInstanceId()
Returns the value of the InstanceId property for this object.
|
String |
getInstanceOwnerId()
Returns the value of the InstanceOwnerId property for this object.
|
String |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.
|
String |
getState()
Returns the value of the State property for this object.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.
|
void |
setGatewayId(String gatewayId)
Sets the value of the GatewayId property for this object.
|
void |
setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.
|
void |
setInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
void |
setState(RouteState state)
Sets the value of the State property for this object.
|
void |
setState(String state)
Sets the value of the State property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Route |
withDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.
|
Route |
withGatewayId(String gatewayId)
Sets the value of the GatewayId property for this object.
|
Route |
withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.
|
Route |
withInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.
|
Route |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.
|
Route |
withState(RouteState state)
Sets the value of the State property for this object.
|
Route |
withState(String state)
Sets the value of the State property for this object.
|
public String getDestinationCidrBlock()
public void setDestinationCidrBlock(String destinationCidrBlock)
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.public Route withDestinationCidrBlock(String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.public String getGatewayId()
public void setGatewayId(String gatewayId)
gatewayId - The new value for the GatewayId property for this object.public Route withGatewayId(String gatewayId)
Returns a reference to this object so that method calls can be chained together.
gatewayId - The new value for the GatewayId property for this object.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - The new value for the InstanceId property for this object.public Route withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The new value for the InstanceId property for this object.public String getInstanceOwnerId()
public void setInstanceOwnerId(String instanceOwnerId)
instanceOwnerId - The new value for the InstanceOwnerId property for this object.public Route withInstanceOwnerId(String instanceOwnerId)
Returns a reference to this object so that method calls can be chained together.
instanceOwnerId - The new value for the InstanceOwnerId property for this object.public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.public Route withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.public String getState()
Constraints:
Allowed Values: active, blackhole
RouteStatepublic void setState(String state)
Constraints:
Allowed Values: active, blackhole
state - The new value for the State property for this object.RouteStatepublic Route withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, blackhole
state - The new value for the State property for this object.RouteStatepublic void setState(RouteState state)
Constraints:
Allowed Values: active, blackhole
state - The new value for the State property for this object.RouteStatepublic Route withState(RouteState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, blackhole
state - The new value for the State property for this object.RouteStatepublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.