Interface LbPoolV2Builder
-
- All Superinterfaces:
Buildable.Builder<LbPoolV2Builder,LbPoolV2>
- All Known Implementing Classes:
NeutronLbPoolV2.LbPoolV2ConcreteBuilder
public interface LbPoolV2Builder extends Buildable.Builder<LbPoolV2Builder,LbPoolV2>
A Builder to create a lbpoolV2- Author:
- emjburns
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LbPoolV2BuilderadminStateUp(boolean adminStateUp)OptionalLbPoolV2Builderdescription(String description)OptionalLbPoolV2BuilderlbMethod(LbMethod lbMethod)LbPoolV2BuilderlistenerId(String listenerId)The listener in which this pool will become the default pool.LbPoolV2BuilderloadBalancerId(String loadBalancerId)The ID of the load balancer under which this pool will be created.LbPoolV2Buildername(String name)OptionalLbPoolV2Builderprotocol(Protocol protocol)LbPoolV2BuildersessionPersistence(SessionPersistence sessionPersistence)OptionalLbPoolV2BuildertenantId(String tenantId)-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
tenantId
LbPoolV2Builder tenantId(String tenantId)
- Parameters:
tenantId- Owner of the pool. Only an administrative user can specify a tenant ID other than its own.- Returns:
- LbPoolV2Builder
-
name
LbPoolV2Builder name(String name)
Optional- Parameters:
name- Pool name. Does not have to be unique.- Returns:
- LbPoolV2Builder
-
description
LbPoolV2Builder description(String description)
Optional- Parameters:
description- Description for the pool.- Returns:
- LbPoolV2Builder
-
protocol
LbPoolV2Builder protocol(Protocol protocol)
- Parameters:
protocol- The protocol of the VIP address. A valid value is TCP, HTTP, or HTTPS.- Returns:
- LbPoolV2Builder
-
lbMethod
LbPoolV2Builder lbMethod(LbMethod lbMethod)
- Parameters:
lbMethod- 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. Must be one of ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.- Returns:
- LbPoolV2Builder
-
sessionPersistence
LbPoolV2Builder sessionPersistence(SessionPersistence sessionPersistence)
Optional- Parameters:
sessionPersistence- Default value empty dictionary- Returns:
- LbPoolV2Builder
-
adminStateUp
LbPoolV2Builder adminStateUp(boolean adminStateUp)
Optional- Parameters:
adminStateUp- The administrative state of the lb pool, which is up (true) or down (false). Default value true.- Returns:
- LbPoolV2Builder
-
listenerId
LbPoolV2Builder listenerId(String listenerId)
The listener in which this pool will become the default pool. There can only be on default pool for a listener.- Returns:
- LbPoolV2Builder
-
loadBalancerId
LbPoolV2Builder loadBalancerId(String loadBalancerId)
The ID of the load balancer under which this pool will be created. Each load balancer can have zero or more pools associated with it. These pools can be used for L7policies. Either listener_id or loadbalancer_id must be specified.- Returns:
- LbPoolV2Builder
-
-