|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.Subnet
public class Subnet
The Subnet data type.
Constructor Summary | |
---|---|
Subnet()
|
Method Summary | |
---|---|
String |
getAvailabilityZone()
Specifies the Availability Zone the subnet is in. |
Integer |
getAvailableIpAddressCount()
Specifies the number of unused IP addresses in the subnet. |
String |
getCidrBlock()
Specifies the CIDR block assigned to the subnet. |
String |
getState()
Describes the current state of the subnet. |
String |
getSubnetId()
Specifies the ID of the subnet. |
List<Tag> |
getTags()
A list of tags for the Subnet. |
String |
getVpcId()
Contains the ID of the VPC the subnet is in. |
void |
setAvailabilityZone(String availabilityZone)
Specifies the Availability Zone the subnet is in. |
void |
setAvailableIpAddressCount(Integer availableIpAddressCount)
Specifies the number of unused IP addresses in the subnet. |
void |
setCidrBlock(String cidrBlock)
Specifies the CIDR block assigned to the subnet. |
void |
setState(String state)
Describes the current state of the subnet. |
void |
setSubnetId(String subnetId)
Specifies the ID of the subnet. |
void |
setTags(Collection<Tag> tags)
A list of tags for the Subnet. |
void |
setVpcId(String vpcId)
Contains the ID of the VPC the subnet is in. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Subnet |
withAvailabilityZone(String availabilityZone)
Specifies the Availability Zone the subnet is in. |
Subnet |
withAvailableIpAddressCount(Integer availableIpAddressCount)
Specifies the number of unused IP addresses in the subnet. |
Subnet |
withCidrBlock(String cidrBlock)
Specifies the CIDR block assigned to the subnet. |
Subnet |
withState(String state)
Describes the current state of the subnet. |
Subnet |
withSubnetId(String subnetId)
Specifies the ID of the subnet. |
Subnet |
withTags(Collection<Tag> tags)
A list of tags for the Subnet. |
Subnet |
withTags(Tag... tags)
A list of tags for the Subnet. |
Subnet |
withVpcId(String vpcId)
Contains the ID of the VPC the subnet is in. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Subnet()
Method Detail |
---|
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- Specifies the ID of the subnet.public Subnet withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- Specifies the ID of the subnet.
public String getState()
pending
or available
.
pending
or available
.public void setState(String state)
pending
or available
.
state
- Describes the current state of the subnet. The state of the subnet may
be either pending
or available
.public Subnet withState(String state)
pending
or available
.
Returns a reference to this object so that method calls can be chained together.
state
- Describes the current state of the subnet. The state of the subnet may
be either pending
or available
.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- Contains the ID of the VPC the subnet is in.public Subnet withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- Contains the ID of the VPC the subnet is in.
public String getCidrBlock()
public void setCidrBlock(String cidrBlock)
cidrBlock
- Specifies the CIDR block assigned to the subnet.public Subnet withCidrBlock(String cidrBlock)
Returns a reference to this object so that method calls can be chained together.
cidrBlock
- Specifies the CIDR block assigned to the subnet.
public Integer getAvailableIpAddressCount()
The IP addresses for any stopped instances are considered unavailable.
The IP addresses for any stopped instances are considered unavailable.
public void setAvailableIpAddressCount(Integer availableIpAddressCount)
The IP addresses for any stopped instances are considered unavailable.
availableIpAddressCount
- Specifies the number of unused IP addresses in the subnet. The IP addresses for any stopped instances are considered unavailable.
public Subnet withAvailableIpAddressCount(Integer availableIpAddressCount)
The IP addresses for any stopped instances are considered unavailable.
Returns a reference to this object so that method calls can be chained together.
availableIpAddressCount
- Specifies the number of unused IP addresses in the subnet. The IP addresses for any stopped instances are considered unavailable.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- Specifies the Availability Zone the subnet is in.public Subnet withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- Specifies the Availability Zone the subnet is in.
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags for the Subnet.public Subnet withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Subnet.
public Subnet withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags for the Subnet.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |