public class DeleteRouteRequest extends AmazonWebServiceRequest implements java.io.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(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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getRouteTableId()
public void setRouteTableId(java.lang.String routeTableId)
routeTableId
- The ID of the route table.public DeleteRouteRequest withRouteTableId(java.lang.String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table.public java.lang.String getDestinationCidrBlock()
public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
destinationCidrBlock
- The CIDR range for the route. The value you specify must match the
CIDR for the route exactly.public DeleteRouteRequest withDestinationCidrBlock(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.