public class DeleteRouteRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteRouteRequest>
DeleteRoute operation
.
Deletes the specified route from the specified route table.
Constructor and Description |
---|
DeleteRouteRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The CIDR range for the route.
|
Request<DeleteRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getRouteTableId()
The ID of the route table.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR range for the route.
|
DeleteRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the route table.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.public String getDestinationCidrBlock()
public void setDestinationCidrBlock(String destinationCidrBlock)
destinationCidrBlock
- The CIDR range for the route. The value you specify must match the
CIDR for the route exactly.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. The value you specify must match the
CIDR for the route exactly.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.