Class NeutronSubnetIPAvailability
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronSubnetIPAvailability
-
- All Implemented Interfaces:
Serializable,Buildable<SubnetIPAvailabilityBuilder>,ModelEntity,SubnetIPAvailability
public class NeutronSubnetIPAvailability extends Object implements SubnetIPAvailability
A subnet IP availabitiy that is bound to a network- Author:
- Xiangbin HAN
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronSubnetIPAvailability.SubnetIPAvailabilityConcreteBuilder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronSubnetIPAvailability()NeutronSubnetIPAvailability(BigInteger usedIps, BigInteger totalIps, String subnetId, String subnetName, IPVersionType ipVersion, String cidr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubnetIPAvailabilityBuilderbuilder()StringgetCidr()IPVersionTypegetIpVersion()StringgetSubnetId()StringgetSubnetName()BigIntegergetTotalIps()Number of total IPs per subnetBigIntegergetUsedIps()Number of used IPs per subnetSubnetIPAvailabilityBuildertoBuilder()StringtoString()
-
-
-
Constructor Detail
-
NeutronSubnetIPAvailability
public NeutronSubnetIPAvailability()
-
NeutronSubnetIPAvailability
public NeutronSubnetIPAvailability(BigInteger usedIps, BigInteger totalIps, String subnetId, String subnetName, IPVersionType ipVersion, String cidr)
-
-
Method Detail
-
builder
public static SubnetIPAvailabilityBuilder builder()
-
toBuilder
public SubnetIPAvailabilityBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<SubnetIPAvailabilityBuilder>
-
getUsedIps
public BigInteger getUsedIps()
Description copied from interface:SubnetIPAvailabilityNumber of used IPs per subnet- Specified by:
getUsedIpsin interfaceSubnetIPAvailability- Returns:
- the number of IPs
-
getTotalIps
public BigInteger getTotalIps()
Description copied from interface:SubnetIPAvailabilityNumber of total IPs per subnet- Specified by:
getTotalIpsin interfaceSubnetIPAvailability- Returns:
- the number of IPs
-
getSubnetId
public String getSubnetId()
- Specified by:
getSubnetIdin interfaceSubnetIPAvailability- Returns:
- the subnet identifier
-
getSubnetName
public String getSubnetName()
- Specified by:
getSubnetNamein interfaceSubnetIPAvailability- Returns:
- the subnet name
-
getIpVersion
public IPVersionType getIpVersion()
- Specified by:
getIpVersionin interfaceSubnetIPAvailability- Returns:
- the IP version type of subnet
-
getCidr
public String getCidr()
- Specified by:
getCidrin interfaceSubnetIPAvailability- Returns:
- the subnet CIDR
-
-