com.amazonaws.services.ec2.model
Class DeleteRouteTableRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteRouteTableRequest

public class DeleteRouteTableRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteRouteTable operation.

Deletes a route table from a VPC. The route table must not be associated with a subnet. You can't delete the main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

See Also:
AmazonEC2.deleteRouteTable(DeleteRouteTableRequest)

Constructor Summary
DeleteRouteTableRequest()
           
 
Method Summary
 String getRouteTableId()
          The ID of the route table to be deleted.
 void setRouteTableId(String routeTableId)
          The ID of the route table to be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteRouteTableRequest withRouteTableId(String routeTableId)
          The ID of the route table to be deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRouteTableRequest

public DeleteRouteTableRequest()
Method Detail

getRouteTableId

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

Returns:
The ID of the route table to be deleted.

setRouteTableId

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

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

withRouteTableId

public DeleteRouteTableRequest withRouteTableId(String routeTableId)
The ID of the route table to be deleted.

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

Parameters:
routeTableId - The ID of the route table to be deleted.
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()


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