Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class CreateRouteTableRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateRouteTableRequest
All Implemented Interfaces:
Serializable

public class CreateRouteTableRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonEC2.createRouteTable(CreateRouteTableRequest), Serialized Form

Constructor Summary
CreateRouteTableRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateRouteTableRequest

public CreateRouteTableRequest()
Method Detail

getVpcId

public String getVpcId()
The ID of the VPC where the route table will be created.

Returns:
The ID of the VPC where the route table will be created.

setVpcId

public void setVpcId(String vpcId)
The ID of the VPC where the route table will be created.

Parameters:
vpcId - The ID of the VPC where the route table will be created.

withVpcId

public CreateRouteTableRequest withVpcId(String vpcId)
The ID of the VPC where the route table will be created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC where the route table will be created.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.