public class CreateRouteTableRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
Request<CreateRouteTableRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRouteTableRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public CreateRouteTableRequest withVpcId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.