com.amazonaws.services.ec2.model
Class CreateSubnetRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateSubnetRequest

public class CreateSubnetRequest
extends AmazonWebServiceRequest

Create Subnet Request


Constructor Summary
CreateSubnetRequest()
           
 
Method Summary
 String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 String getCidrBlock()
          Returns the value of the CidrBlock property for this object.
 String getVpcId()
          Returns the value of the VpcId property for this object.
 void setAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setCidrBlock(String cidrBlock)
          Sets the value of the CidrBlock property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 CreateSubnetRequest withAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 CreateSubnetRequest withCidrBlock(String cidrBlock)
          Sets the value of the CidrBlock property for this object.
 CreateSubnetRequest withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSubnetRequest

public CreateSubnetRequest()
Method Detail

getVpcId

public String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public CreateSubnetRequest withVpcId(String vpcId)
Sets the value of the VpcId property for this object.

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

Parameters:
vpcId - The new value for the VpcId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getCidrBlock

public String getCidrBlock()
Returns the value of the CidrBlock property for this object.

Returns:
The value of the CidrBlock property for this object.

setCidrBlock

public void setCidrBlock(String cidrBlock)
Sets the value of the CidrBlock property for this object.

Parameters:
cidrBlock - The new value for the CidrBlock property for this object.

withCidrBlock

public CreateSubnetRequest withCidrBlock(String cidrBlock)
Sets the value of the CidrBlock property for this object.

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

Parameters:
cidrBlock - The new value for the CidrBlock property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public String getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.

Returns:
The value of the AvailabilityZone property for this object.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

withAvailabilityZone

public CreateSubnetRequest withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

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

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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