Class OctaviaLoadBalancerV2
- java.lang.Object
-
- org.openstack4j.openstack.octavia.domain.OctaviaLoadBalancerV2
-
- All Implemented Interfaces:
Serializable,Buildable<LoadBalancerV2Builder>,ModelEntity,LoadBalancerV2
public class OctaviaLoadBalancerV2 extends Object implements LoadBalancerV2
lbaas v2 loadbalancer- Author:
- wei
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOctaviaLoadBalancerV2.LoadBalancersV2static classOctaviaLoadBalancerV2.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 OctaviaLoadBalancerV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoadBalancerV2Builderbuilder()StringgetDescription()StringgetId()List<ListItem>getListeners()StringgetName()LbOperatingStatusgetOperatingStatus()StringgetProjectId()StringgetProvider()Retrieve provider the load balancer is provisioned withLbProvisioningStatusgetProvisioningStatus()StringgetVipAddress()StringgetVipNetworkId()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.
-
getProjectId
public String getProjectId()
- Specified by:
getProjectIdin interfaceLoadBalancerV2- Returns:
- the ID of the project/tenant that owns the resource
-
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.
-
getVipNetworkId
public String getVipNetworkId()
- Specified by:
getVipNetworkIdin interfaceLoadBalancerV2- Returns:
- The vip network id of 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>
-
-