public class AssociateRouteTableRequest extends AmazonWebServiceRequest implements java.io.Serializable
AssociateRouteTable operation.
Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need if you want to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.
For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
| コンストラクタと説明 |
|---|
AssociateRouteTableRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRouteTableId()
The ID of the route table.
|
java.lang.String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setRouteTableId(java.lang.String routeTableId)
The ID of the route table.
|
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateRouteTableRequest |
withRouteTableId(java.lang.String routeTableId)
The ID of the route table.
|
AssociateRouteTableRequest |
withSubnetId(java.lang.String subnetId)
The ID of the subnet.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId - The ID of the subnet.public AssociateRouteTableRequest withSubnetId(java.lang.String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The ID of the subnet.public java.lang.String getRouteTableId()
public void setRouteTableId(java.lang.String routeTableId)
routeTableId - The ID of the route table.public AssociateRouteTableRequest 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 toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object