Class NeutronLbPool
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronLbPool
-
- All Implemented Interfaces:
Serializable,Buildable<LbPoolBuilder>,ModelEntity,LbPool
public class NeutronLbPool extends Object implements LbPool
A pool of a load balancer- Author:
- liujunpeng
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronLbPool.LbPoolContreteBuilderstatic classNeutronLbPool.LbPools-
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 NeutronLbPool()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LbPoolBuilderbuilder()StringgetDescription()List<String>getHealthMonitors()StringgetId()LbMethodgetLbMethod()List<String>getMembers()StringgetName()ProtocolgetProtocol()StringgetProvider()StringgetStatus()StringgetSubnetId()StringgetTenantId()StringgetVipId()booleanisAdminStateUp()LbPoolBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static LbPoolBuilder builder()
-
toBuilder
public LbPoolBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<LbPoolBuilder>
-
getId
public String getId()
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceLbPool- 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 interfaceLbPool- Returns:
- Description for the pool.
-
getSubnetId
public String getSubnetId()
- Specified by:
getSubnetIdin interfaceLbPool- Returns:
- subnetId The ID of the subnet on which to allocate the VIP address.
-
getProtocol
public Protocol getProtocol()
- Specified by:
getProtocolin interfaceLbPool- Returns:
- The protocol of the pool, which is TCP, HTTP, or HTTPS.
-
getProvider
public String getProvider()
- Specified by:
getProviderin interfaceLbPool- Returns:
- loadbalance provider,such as haproxy
-
getLbMethod
public LbMethod getLbMethod()
- Specified by:
getLbMethodin interfaceLbPool- 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.
-
getMembers
public List<String> getMembers()
- Specified by:
getMembersin interfaceLbPool- Returns:
- List of members that belong to the pool.
-
getHealthMonitors
public List<String> getHealthMonitors()
- Specified by:
getHealthMonitorsin interfaceLbPool- Returns:
- List of health monitors that associated to the pool.
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUpin interfaceLbPool- Returns:
- The administrative state of the lb pool, which is up (true) or down (false).
-
getStatus
public String getStatus()
-
-