public class DeleteRouteRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteRouteRequest>
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.
Constructor and Description |
---|
DeleteRouteRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The CIDR range for the route you want to delete.
|
Request<DeleteRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getRouteTableId()
The ID of the route table where the route will be deleted.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route you want to delete.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table where the route will be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route you want to delete.
|
DeleteRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table where the route will be deleted.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the route table where the route will be deleted.public DeleteRouteRequest withRouteTableId(String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table where the route will be deleted.public String getDestinationCidrBlock()
public void setDestinationCidrBlock(String destinationCidrBlock)
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.public DeleteRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
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.public Request<DeleteRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteRouteRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.