com.amazonaws.services.ec2.model
Class DeleteRouteTableRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteRouteTableRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeleteRouteTableRequest>, java.io.Serializable

public class DeleteRouteTableRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeleteRouteTableRequest>

Container for the parameters to the DeleteRouteTable operation.

Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.

See Also:
AmazonEC2.deleteRouteTable(DeleteRouteTableRequest), Serialized Form

Constructor Summary
DeleteRouteTableRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeleteRouteTableRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getRouteTableId()
          The ID of the route table.
 int hashCode()
           
 void setRouteTableId(java.lang.String routeTableId)
          The ID of the route table.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteRouteTableRequest withRouteTableId(java.lang.String routeTableId)
          The ID of the route table.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRouteTableRequest

public DeleteRouteTableRequest()
Method Detail

getRouteTableId

public java.lang.String getRouteTableId()
The ID of the route table.

Returns:
The ID of the route table.

setRouteTableId

public void setRouteTableId(java.lang.String routeTableId)
The ID of the route table.

Parameters:
routeTableId - The ID of the route table.

withRouteTableId

public DeleteRouteTableRequest withRouteTableId(java.lang.String routeTableId)
The ID of the route table.

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

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

getDryRunRequest

public Request<DeleteRouteTableRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeleteRouteTableRequest>

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()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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