com.amazonaws.services.ec2.model
Class DeleteRouteRequest

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

public class DeleteRouteRequest
extends AmazonWebServiceRequest

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)

Constructor Summary
DeleteRouteRequest()
           
 
Method Summary
 java.lang.String getDestinationCidrBlock()
          The CIDR range for the route you want to delete.
 java.lang.String getRouteTableId()
          The ID of the route table where the route will be deleted.
 void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
          The CIDR range for the route you want to delete.
 void setRouteTableId(java.lang.String routeTableId)
          The ID of the route table where the route will be deleted.
 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 you want to delete.
 DeleteRouteRequest withRouteTableId(java.lang.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRouteRequest

public DeleteRouteRequest()
Method Detail

getRouteTableId

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


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