Package org.jclouds.ec2.domain
Class Subnet
- java.lang.Object
-
- org.jclouds.ec2.domain.Subnet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubnet.Builderstatic classSubnet.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Subnet.Builderbuilder()booleanequals(Object obj)StringgetAvailabilityZone()The availability zone this subnet is in.intgetAvailableIpAddressCount()The number of available IPs in this subnet.StringgetCidrBlock()The CIDR block for this subnet.StringgetSubnetId()The subnet ID, ex.Subnet.StategetSubnetState()The subnet state - either available or pending.Map<String,String>getTags()Tags that are attached to this subnet.StringgetVpcId()The vpc ID this subnet belongs to.inthashCode()Subnet.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
getSubnetId
public String getSubnetId()
The subnet ID, ex. subnet-c5473ba8
-
getSubnetState
public Subnet.State getSubnetState()
The subnet state - either available or pending.
-
getVpcId
public String getVpcId()
The vpc ID this subnet belongs to.
-
getCidrBlock
public String getCidrBlock()
The CIDR block for this subnet.
-
getAvailableIpAddressCount
public int getAvailableIpAddressCount()
The number of available IPs in this subnet.
-
getAvailabilityZone
public String getAvailabilityZone()
The availability zone this subnet is in.
-
builder
public static Subnet.Builder builder()
-
toBuilder
public Subnet.Builder toBuilder()
-
-