Package org.jclouds.ec2.domain
Class Subnet
java.lang.Object
org.jclouds.ec2.domain.Subnet
Amazon EC2 VPCs contain one or more subnets.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Subnet.Builder
builder()
boolean
The availability zone this subnet is in.int
The number of available IPs in this subnet.The CIDR block for this subnet.The subnet ID, ex.The subnet state - either available or pending.getTags()
Tags that are attached to this subnet.getVpcId()
The vpc ID this subnet belongs to.int
hashCode()
toString()
-
Method Details
-
getSubnetId
The subnet ID, ex. subnet-c5473ba8 -
getSubnetState
The subnet state - either available or pending. -
getVpcId
The vpc ID this subnet belongs to. -
getCidrBlock
The CIDR block for this subnet. -
getAvailableIpAddressCount
public int getAvailableIpAddressCount()The number of available IPs in this subnet. -
getAvailabilityZone
The availability zone this subnet is in. -
getTags
Tags that are attached to this subnet. -
hashCode
public int hashCode() -
equals
-
toString
-
builder
-
toBuilder
-