Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DeleteRouteRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteRouteRequest
All Implemented Interfaces:
Serializable

public class DeleteRouteRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteRoute operation.

Deletes a route from a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

See Also:
AmazonEC2.deleteRoute(DeleteRouteRequest), Serialized Form

Constructor Summary
DeleteRouteRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDestinationCidrBlock()
          The CIDR range for the route you want to delete.
 String getRouteTableId()
          The ID of the route table where the route will be deleted.
 int hashCode()
           
 void setDestinationCidrBlock(String destinationCidrBlock)
          The CIDR range for the route you want to delete.
 void setRouteTableId(String routeTableId)
          The ID of the route table where the route will be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
          The CIDR range for the route you want to delete.
 DeleteRouteRequest withRouteTableId(String routeTableId)
          The ID of the route table where the route will be deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRouteRequest

public DeleteRouteRequest()
Method Detail

getRouteTableId

public String getRouteTableId()
The ID of the route table where the route will be deleted.

Returns:
The ID of the route table where the route will be deleted.

setRouteTableId

public void setRouteTableId(String routeTableId)
The ID of the route table where the route will be deleted.

Parameters:
routeTableId - The ID of the route table where the route will be deleted.

withRouteTableId

public DeleteRouteRequest withRouteTableId(String routeTableId)
The ID of the route table where the route will be deleted.

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

Parameters:
routeTableId - The ID of the route table where the route will be deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

getDestinationCidrBlock

public String getDestinationCidrBlock()
The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.

Returns:
The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.

setDestinationCidrBlock

public void setDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.

Parameters:
destinationCidrBlock - The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.

withDestinationCidrBlock

public DeleteRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.

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

Parameters:
destinationCidrBlock - The CIDR range for the route you want to delete. The value you specify must exactly match the CIDR for the route you want to delete.
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.