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 class
Subnet.Builder
static class
Subnet.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Subnet.Builder
builder()
boolean
equals(Object obj)
String
getAvailabilityZone()
The availability zone this subnet is in.int
getAvailableIpAddressCount()
The number of available IPs in this subnet.String
getCidrBlock()
The CIDR block for this subnet.String
getSubnetId()
The subnet ID, ex.Subnet.State
getSubnetState()
The subnet state - either available or pending.Map<String,String>
getTags()
Tags that are attached to this subnet.String
getVpcId()
The vpc ID this subnet belongs to.int
hashCode()
Subnet.Builder
toBuilder()
String
toString()
-
-
-
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()
-
-