public class ReplaceRouteTableAssociationRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<ReplaceRouteTableAssociationRequest>
ReplaceRouteTableAssociation operation
.
Changes the route table associated with a given subnet in a VPC. After the operation completes, the subnet uses the routes in the new route table it's associated with. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide .
You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table.
Constructor and Description |
---|
ReplaceRouteTableAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssociationId()
The association ID.
|
Request<ReplaceRouteTableAssociationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getRouteTableId()
The ID of the new route table to associate with the subnet.
|
int |
hashCode() |
void |
setAssociationId(java.lang.String associationId)
The association ID.
|
void |
setRouteTableId(java.lang.String routeTableId)
The ID of the new route table to associate with the subnet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceRouteTableAssociationRequest |
withAssociationId(java.lang.String associationId)
The association ID.
|
ReplaceRouteTableAssociationRequest |
withRouteTableId(java.lang.String routeTableId)
The ID of the new route table to associate with the subnet.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAssociationId()
public void setAssociationId(java.lang.String associationId)
associationId
- The association ID.public ReplaceRouteTableAssociationRequest withAssociationId(java.lang.String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The association ID.public java.lang.String getRouteTableId()
public void setRouteTableId(java.lang.String routeTableId)
routeTableId
- The ID of the new route table to associate with the subnet.public ReplaceRouteTableAssociationRequest withRouteTableId(java.lang.String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the new route table to associate with the subnet.public Request<ReplaceRouteTableAssociationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceRouteTableAssociationRequest>
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.