Package org.openstack4j.model.octavia
Interface LbPoolV2
-
- All Superinterfaces:
Buildable<LbPoolV2Builder>,ModelEntity,Serializable
- All Known Implementing Classes:
OctaviaLbPoolV2
public interface LbPoolV2 extends ModelEntity, Buildable<LbPoolV2Builder>
A v2 loadbanlance pool- Author:
- wei
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()StringgetHealthMonitorId()StringgetId()LbMethodgetLbMethod()List<ListItem>getListeners()Listeners associated with the poolList<ListItem>getMembers()StringgetName()StringgetProjectId()ProtocolgetProtocol()SessionPersistencegetSessionPersistence()booleanisAdminStateUp()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- id. The unique ID for the pool.
-
getProjectId
String getProjectId()
- Returns:
- the ID of the project/tenant that owns the resource
-
getName
String getName()
- Returns:
- Pool name. Does not have to be unique.
-
getDescription
String getDescription()
- Returns:
- Description for the pool.
-
getProtocol
Protocol getProtocol()
- Returns:
- The protocol of the pool, which is TCP, HTTP, or HTTPS.
-
getLbMethod
LbMethod getLbMethod()
- 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
SessionPersistence getSessionPersistence()
- Returns:
- SessionPersistence
-
isAdminStateUp
boolean isAdminStateUp()
- Returns:
- The administrative state of the lb pool, which is up (true) or down (false).
-
getListeners
List<ListItem> getListeners()
Listeners associated with the pool- Returns:
- listeners associated with the pool
-
getHealthMonitorId
String getHealthMonitorId()
- Returns:
- Health monitor associated with the pool.
-
-