|
Did this page help you?Yes No Tell us about it... |
||||||
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 you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
You can also use this 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 that you want to be the new main route table.
AmazonEC2.replaceRouteTableAssociation(ReplaceRouteTableAssociationRequest)
,
Serialized FormConstructor Summary | |
---|---|
ReplaceRouteTableAssociationRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAssociationId()
The ID representing the current association between the original route table and the subnet. |
String |
getRouteTableId()
The ID of the new route table to associate with the subnet. |
int |
hashCode()
|
void |
setAssociationId(String associationId)
The ID representing the current association between the original route table and the subnet. |
void |
setRouteTableId(String routeTableId)
The ID of the new route table to associate with the subnet. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReplaceRouteTableAssociationRequest |
withAssociationId(String associationId)
The ID representing the current association between the original route table and the subnet. |
ReplaceRouteTableAssociationRequest |
withRouteTableId(String routeTableId)
The ID of the new route table to associate with the subnet. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceRouteTableAssociationRequest()
Method Detail |
---|
public String getAssociationId()
public void setAssociationId(String associationId)
associationId
- The ID representing the current association between the original route
table and the subnet.public ReplaceRouteTableAssociationRequest withAssociationId(String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The ID representing the current association between the original route
table and the subnet.
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the new route table to associate with the subnet.public ReplaceRouteTableAssociationRequest withRouteTableId(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |