Class NeutronLoadBalancerV2
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronLoadBalancerV2
-
- All Implemented Interfaces:
Serializable,Buildable<LoadBalancerV2Builder>,ModelEntity,LoadBalancerV2
public class NeutronLoadBalancerV2 extends Object implements LoadBalancerV2
lbaas v2 loadbalancer- Author:
- emjburns
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronLoadBalancerV2.LoadBalancersV2static classNeutronLoadBalancerV2.LoadBalancerV2ConcreteBuilder-
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 NeutronLoadBalancerV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancerV2Builderbuilder()StringgetDescription()StringgetId()List<ListItem>getListeners()StringgetName()LbOperatingStatusgetOperatingStatus()StringgetProvider()Retrieve provider the load balancer is provisioned withLbProvisioningStatusgetProvisioningStatus()StringgetTenantId()StringgetVipAddress()StringgetVipPortId()StringgetVipSubnetId()booleanisAdminStateUp()LoadBalancerV2BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static LoadBalancerV2Builder builder()
-
getId
public String getId()
- Specified by:
getIdin interfaceLoadBalancerV2- Returns:
- id. The unique ID for the loadbalancer.
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceLoadBalancerV2- Returns:
- tenantId. Owner of the loadbalancer. Only an administrative user can specify a tenant ID other than its own.
-
getName
public String getName()
- Specified by:
getNamein interfaceLoadBalancerV2- Returns:
- loadbalancer name. Does not have to be unique.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceLoadBalancerV2- Returns:
- Description for the loadbalancer.
-
getVipSubnetId
public String getVipSubnetId()
- Specified by:
getVipSubnetIdin interfaceLoadBalancerV2- Returns:
- The vip subnet id of the loadbalancer.
-
getVipAddress
public String getVipAddress()
- Specified by:
getVipAddressin interfaceLoadBalancerV2- Returns:
- The vip address of the loadbalancer.
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUpin interfaceLoadBalancerV2- Returns:
- The administrative state of the loadbalancer, which is up (true) or down (false).
-
getListeners
public List<ListItem> getListeners()
- Specified by:
getListenersin interfaceLoadBalancerV2- Returns:
- The listeners of the loadbalancer.
-
getProvisioningStatus
public LbProvisioningStatus getProvisioningStatus()
- Specified by:
getProvisioningStatusin interfaceLoadBalancerV2- Returns:
- provisioningStatus.The provisioning status of the loadbalancer. Indicates whether the loadbalancer is provisioning. Either ACTIVE, PENDING_CREATE or ERROR.
-
getOperatingStatus
public LbOperatingStatus getOperatingStatus()
- Specified by:
getOperatingStatusin interfaceLoadBalancerV2- Returns:
- operatingStatus.The operating status of the loadbalancer. Indicates whether the loadbalancer is operational.
-
getVipPortId
public String getVipPortId()
- Specified by:
getVipPortIdin interfaceLoadBalancerV2- Returns:
- the vip port id of the loadbalancer
-
getProvider
public String getProvider()
Retrieve provider the load balancer is provisioned with- Specified by:
getProviderin interfaceLoadBalancerV2- Returns:
- provider
-
toBuilder
public LoadBalancerV2Builder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<LoadBalancerV2Builder>
-
-