com.amazonaws.services.ec2.model
Class Subnet

java.lang.Object
  extended by com.amazonaws.services.ec2.model.Subnet

public class Subnet
extends Object

Subnet


Constructor Summary
Subnet()
           
 
Method Summary
 String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 Integer getAvailableIpAddressCount()
          Returns the value of the AvailableIpAddressCount property for this object.
 String getCidrBlock()
          Returns the value of the CidrBlock property for this object.
 String getState()
          Returns the value of the State property for this object.
 String getSubnetId()
          Returns the value of the SubnetId 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 setAvailableIpAddressCount(Integer availableIpAddressCount)
          Sets the value of the AvailableIpAddressCount property for this object.
 void setCidrBlock(String cidrBlock)
          Sets the value of the CidrBlock property for this object.
 void setState(String state)
          Sets the value of the State property for this object.
 void setSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 Subnet withAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 Subnet withAvailableIpAddressCount(Integer availableIpAddressCount)
          Sets the value of the AvailableIpAddressCount property for this object.
 Subnet withCidrBlock(String cidrBlock)
          Sets the value of the CidrBlock property for this object.
 Subnet withState(String state)
          Sets the value of the State property for this object.
 Subnet withSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 Subnet withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subnet

public Subnet()
Method Detail

getSubnetId

public String getSubnetId()
Returns the value of the SubnetId property for this object.

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

setSubnetId

public void setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

Parameters:
subnetId - The new value for the SubnetId property for this object.

withSubnetId

public Subnet withSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

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

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

getState

public String getState()
Returns the value of the State property for this object.

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

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public Subnet withState(String state)
Sets the value of the State property for this object.

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

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

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 Subnet 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 Subnet 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.

getAvailableIpAddressCount

public Integer getAvailableIpAddressCount()
Returns the value of the AvailableIpAddressCount property for this object.

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

setAvailableIpAddressCount

public void setAvailableIpAddressCount(Integer availableIpAddressCount)
Sets the value of the AvailableIpAddressCount property for this object.

Parameters:
availableIpAddressCount - The new value for the AvailableIpAddressCount property for this object.

withAvailableIpAddressCount

public Subnet withAvailableIpAddressCount(Integer availableIpAddressCount)
Sets the value of the AvailableIpAddressCount property for this object.

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

Parameters:
availableIpAddressCount - The new value for the AvailableIpAddressCount 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 Subnet 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.