public class CreateRouteTableRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateRouteTableRequest>
CreateRouteTable operation.
Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
For more information about route tables, see 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.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRouteTableRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getVpcId()
public void setVpcId(String vpcId)
vpcId - The ID of the VPC.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.public Request<CreateRouteTableRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateRouteTableRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.