public class ReplaceRouteTableAssociationRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
ReplaceRouteTableAssociationRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssociationId()
The ID representing the current association between the original route
table and the subnet.
|
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 ID representing the current association between the original route
table and the subnet.
|
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 ID representing the current association between the original route
table and the subnet.
|
ReplaceRouteTableAssociationRequest |
withRouteTableId(java.lang.String routeTableId)
The ID of the new route table to associate with the subnet.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getAssociationId()
public void setAssociationId(java.lang.String associationId)
associationId - The ID representing the current association between the original route
table and the subnet.public ReplaceRouteTableAssociationRequest withAssociationId(java.lang.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 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object