public class CreateRouteTableRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateRouteTableRequest>
CreateRouteTable operation.
Creates a new route table within a VPC. After you create a new route table, you can add routes and associate the table with a subnet. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
| Constructor and Description |
|---|
CreateRouteTableRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Request<CreateRouteTableRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpcId()
The ID of the VPC where the route table will be created.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
The ID of the VPC where the route table will be created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRouteTableRequest |
withVpcId(String vpcId)
The ID of the VPC where the route table will be created.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getVpcId()
public void setVpcId(String vpcId)
vpcId - The ID of the VPC where the route table will be created.public CreateRouteTableRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC where the route table will be created.public Request<CreateRouteTableRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateRouteTableRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.