Class NeutronLbPoolV2
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronLbPoolV2
-
- All Implemented Interfaces:
Serializable,Buildable<LbPoolV2Builder>,ModelEntity,LbPoolV2
public class NeutronLbPoolV2 extends Object implements LbPoolV2
Lbaas V2 load balancer pool- Author:
- emjburns
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronLbPoolV2.LbPoolsV2static classNeutronLbPoolV2.LbPoolV2ConcreteBuilder-
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 NeutronLbPoolV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LbPoolV2Builderbuilder()StringgetDescription()StringgetHealthMonitorId()StringgetId()LbMethodgetLbMethod()List<ListItem>getListeners()Listeners associated with the poolStringgetLoadBalancerId()List<ListItem>getMembers()StringgetName()ProtocolgetProtocol()SessionPersistencegetSessionPersistence()StringgetTenantId()booleanisAdminStateUp()LbPoolV2BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static LbPoolV2Builder builder()
-
toBuilder
public LbPoolV2Builder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<LbPoolV2Builder>
-
getId
public String getId()
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceLbPoolV2- Returns:
- tenantId. Owner of the pool. Only an administrative user can specify a tenant ID other than its own.
-
getName
public String getName()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceLbPoolV2- Returns:
- Description for the pool.
-
getProtocol
public Protocol getProtocol()
- Specified by:
getProtocolin interfaceLbPoolV2- Returns:
- The protocol of the pool, which is TCP, HTTP, or HTTPS.
-
getLbMethod
public LbMethod getLbMethod()
- Specified by:
getLbMethodin interfaceLbPoolV2- Returns:
- The load-balancer algorithm, which is round-robin, least-connections, and so on. This value, which must be supported, is dependent on the load-balancer provider. Round-robin must be supported.
-
getSessionPersistence
public SessionPersistence getSessionPersistence()
- Specified by:
getSessionPersistencein interfaceLbPoolV2- Returns:
- SessionPersistence
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUpin interfaceLbPoolV2- Returns:
- The administrative state of the lb pool, which is up (true) or down (false).
-
getListeners
public List<ListItem> getListeners()
Listeners associated with the pool- Specified by:
getListenersin interfaceLbPoolV2- Returns:
- listeners associated with the pool
-
getLoadBalancerId
public String getLoadBalancerId()
- Specified by:
getLoadBalancerIdin interfaceLbPoolV2- Returns:
- The ID of the load balancer under which this pool will be created.
-
getMembers
public List<ListItem> getMembers()
- Specified by:
getMembersin interfaceLbPoolV2- Returns:
- List of members that belong to the pool.
-
getHealthMonitorId
public String getHealthMonitorId()
- Specified by:
getHealthMonitorIdin interfaceLbPoolV2- Returns:
- Health monitor associated with the pool.
-
-