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:
DryRunSupportedRequest<DeleteRouteRequest>, java.io.Serializable

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

Container for the parameters to the DeleteRoute operation.

Deletes the specified route from the specified route table.

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

Constructor Summary
DeleteRouteRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDestinationCidrBlock()
          The CIDR range for the route.
 Request<DeleteRouteRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getRouteTableId()
          The ID of the route table.
 int hashCode()
           
 void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
          The CIDR range for the route.
 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.
 DeleteRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
          The CIDR range for the route.
 DeleteRouteRequest 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

DeleteRouteRequest

public DeleteRouteRequest()
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 DeleteRouteRequest 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.

getDestinationCidrBlock

public java.lang.String getDestinationCidrBlock()
The CIDR range for the route. The value you specify must match the CIDR for the route exactly.

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

setDestinationCidrBlock

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

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

withDestinationCidrBlock

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

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

Parameters:
destinationCidrBlock - The CIDR range for the route. The value you specify must match the CIDR for the route exactly.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

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

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.