|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ReplaceRouteTableAssociationRequest
public class ReplaceRouteTableAssociationRequest
Container for the parameters to the 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.
AmazonEC2.replaceRouteTableAssociation(ReplaceRouteTableAssociationRequest)
,
Serialized FormConstructor Summary | |
---|---|
ReplaceRouteTableAssociationRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceRouteTableAssociationRequest()
Method Detail |
---|
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |