com.amazonaws.services.ec2.model
Class Route

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

public class Route
extends java.lang.Object

Route


Constructor Summary
Route()
           
 
Method Summary
 java.lang.String getDestinationCidrBlock()
          Returns the value of the DestinationCidrBlock property for this object.
 java.lang.String getGatewayId()
          Returns the value of the GatewayId property for this object.
 java.lang.String getInstanceId()
          Returns the value of the InstanceId property for this object.
 java.lang.String getState()
          Returns the value of the State property for this object.
 void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
          Sets the value of the DestinationCidrBlock property for this object.
 void setGatewayId(java.lang.String gatewayId)
          Sets the value of the GatewayId property for this object.
 void setInstanceId(java.lang.String instanceId)
          Sets the value of the InstanceId property for this object.
 void setState(java.lang.String state)
          Sets the value of the State property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Route withDestinationCidrBlock(java.lang.String destinationCidrBlock)
          Sets the value of the DestinationCidrBlock property for this object.
 Route withGatewayId(java.lang.String gatewayId)
          Sets the value of the GatewayId property for this object.
 Route withInstanceId(java.lang.String instanceId)
          Sets the value of the InstanceId property for this object.
 Route withState(java.lang.String state)
          Sets the value of the State property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Route

public Route()
Method Detail

getDestinationCidrBlock

public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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.

getState

public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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


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