com.amazonaws.services.ec2.model
Class Route

java.lang.Object
  extended by com.amazonaws.services.ec2.model.Route

public class Route
extends Object

Route


Constructor Summary
Route()
           
 
Method Summary
 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(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(String state)
          Sets the value of the State property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Route

public Route()
Method Detail

getDestinationCidrBlock

public String getDestinationCidrBlock()
Returns the value of the DestinationCidrBlock property for this object.

Returns:
The value of the DestinationCidrBlock property for this object.

setDestinationCidrBlock

public void setDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.

Parameters:
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.

withDestinationCidrBlock

public Route withDestinationCidrBlock(String destinationCidrBlock)
Sets the value of the DestinationCidrBlock property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
destinationCidrBlock - The new value for the DestinationCidrBlock property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getGatewayId

public String getGatewayId()
Returns the value of the GatewayId property for this object.

Returns:
The value of the GatewayId property for this object.

setGatewayId

public void setGatewayId(String gatewayId)
Sets the value of the GatewayId property for this object.

Parameters:
gatewayId - The new value for the GatewayId property for this object.

withGatewayId

public Route withGatewayId(String gatewayId)
Sets the value of the GatewayId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
gatewayId - The new value for the GatewayId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
Returns the value of the InstanceId property for this object.

Returns:
The value of the InstanceId property for this object.

setInstanceId

public void setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Parameters:
instanceId - The new value for the InstanceId property for this object.

withInstanceId

public Route withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The new value for the InstanceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceOwnerId

public String getInstanceOwnerId()
Returns the value of the InstanceOwnerId property for this object.

Returns:
The value of the InstanceOwnerId property for this object.

setInstanceOwnerId

public void setInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.

Parameters:
instanceOwnerId - The new value for the InstanceOwnerId property for this object.

withInstanceOwnerId

public Route withInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceOwnerId - The new value for the InstanceOwnerId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getNetworkInterfaceId

public String getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.

Returns:
The value of the NetworkInterfaceId property for this object.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.

withNetworkInterfaceId

public Route withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getState

public String getState()
Returns the value of the State property for this object.

Returns:
The value of the State property for this object.

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public Route withState(String state)
Sets the value of the State property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
state - The new value for the State property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.