Class NeutronNetQuota
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronNetQuota
-
- All Implemented Interfaces:
Serializable,Buildable<NetQuotaBuilder>,ModelEntity,NetQuota
public class NeutronNetQuota extends Object implements NetQuota
Network quotas that are bound to a Tenant- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronNetQuota.NetQuotaConcreteBuilderstatic classNeutronNetQuota.NeutronNetQuotas-
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 NeutronNetQuota()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetQuotaBuilderbuilder()intgetFloatingIP()Number of floating IpAddresses allowed per tenantintgetNetwork()Number of networks allowed per tenantintgetPort()Number of ports allowed per tenantintgetRbacPolicy()The number of role-based access control (RBAC) policies for each project.intgetRouter()Number of routers allowed per tenantintgetSecurityGroup()Number of security groups per tenantintgetSecurityGroupRule()Number of security groups rules per security group per tenantintgetSubnet()Number of subnets allowed per tenantintgetSubnetpool()The number of subnet pools allowed for each project.NetQuotaBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetQuotaBuilder builder()
-
toBuilder
public NetQuotaBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetQuotaBuilder>
-
getSubnet
public int getSubnet()
Description copied from interface:NetQuotaNumber of subnets allowed per tenant
-
getRouter
public int getRouter()
Description copied from interface:NetQuotaNumber of routers allowed per tenant
-
getPort
public int getPort()
Description copied from interface:NetQuotaNumber of ports allowed per tenant
-
getNetwork
public int getNetwork()
Description copied from interface:NetQuotaNumber of networks allowed per tenant- Specified by:
getNetworkin interfaceNetQuota- Returns:
- number of networks
-
getFloatingIP
public int getFloatingIP()
Description copied from interface:NetQuotaNumber of floating IpAddresses allowed per tenant- Specified by:
getFloatingIPin interfaceNetQuota- Returns:
- number of float IpAddresses
-
getSecurityGroup
public int getSecurityGroup()
Description copied from interface:NetQuotaNumber of security groups per tenant- Specified by:
getSecurityGroupin interfaceNetQuota- Returns:
- number of security groups
-
getSubnetpool
public int getSubnetpool()
Description copied from interface:NetQuotaThe number of subnet pools allowed for each project. A value of -1 means no limit- Specified by:
getSubnetpoolin interfaceNetQuota- Returns:
- number of subnet pools
-
getRbacPolicy
public int getRbacPolicy()
Description copied from interface:NetQuotaThe number of role-based access control (RBAC) policies for each project. A value of -1 means no limit- Specified by:
getRbacPolicyin interfaceNetQuota- Returns:
- number of RBAC policies
-
getSecurityGroupRule
public int getSecurityGroupRule()
Description copied from interface:NetQuotaNumber of security groups rules per security group per tenant- Specified by:
getSecurityGroupRulein interfaceNetQuota- Returns:
- number of security groups rules
-
-