com.amazonaws.services.ec2.model
Class DisassociateRouteTableRequest

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

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

Container for the parameters to the DisassociateRouteTable operation.

Disassociates a subnet from a route table.

After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide .

See Also:
AmazonEC2.disassociateRouteTable(DisassociateRouteTableRequest), Serialized Form

Constructor Summary
DisassociateRouteTableRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAssociationId()
          The association ID representing the current association between the route table and subnet.
 Request<DisassociateRouteTableRequest> getDryRunRequest()
          This method is intended for internal use only.
 int hashCode()
           
 void setAssociationId(java.lang.String associationId)
          The association ID representing the current association between the route table and subnet.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DisassociateRouteTableRequest withAssociationId(java.lang.String associationId)
          The association ID representing the current association between the route table and subnet.
 
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

DisassociateRouteTableRequest

public DisassociateRouteTableRequest()
Method Detail

getAssociationId

public java.lang.String getAssociationId()
The association ID representing the current association between the route table and subnet.

Returns:
The association ID representing the current association between the route table and subnet.

setAssociationId

public void setAssociationId(java.lang.String associationId)
The association ID representing the current association between the route table and subnet.

Parameters:
associationId - The association ID representing the current association between the route table and subnet.

withAssociationId

public DisassociateRouteTableRequest withAssociationId(java.lang.String associationId)
The association ID representing the current association between the route table and subnet.

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

Parameters:
associationId - The association ID representing the current association between the route table and subnet.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DisassociateRouteTableRequest> 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<DisassociateRouteTableRequest>

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.