public interface LbPoolV2Builder extends Buildable.Builder<LbPoolV2Builder,LbPoolV2>
Modifier and Type | Method and Description |
---|---|
LbPoolV2Builder |
adminStateUp(boolean adminStateUp)
Optional
|
LbPoolV2Builder |
description(String description)
Optional
|
LbPoolV2Builder |
lbMethod(LbMethod lbMethod) |
LbPoolV2Builder |
listenerId(String listenerId)
The listener in which this pool will become the default pool.
|
LbPoolV2Builder |
name(String name)
Optional
|
LbPoolV2Builder |
protocol(Protocol protocol) |
LbPoolV2Builder |
sessionPersistence(SessionPersistence sessionPersistence)
Optional
|
LbPoolV2Builder |
tenantId(String tenantId) |
build, from
LbPoolV2Builder tenantId(String tenantId)
tenantId
- Owner of the pool. Only an administrative user can specify a
tenant ID other than its own.LbPoolV2Builder name(String name)
name
- Pool name. Does not have to be unique.LbPoolV2Builder description(String description)
description
- Description for the pool.LbPoolV2Builder protocol(Protocol protocol)
protocol
- The protocol of the VIP address. A valid value is TCP, HTTP,
or HTTPS.LbPoolV2Builder lbMethod(LbMethod lbMethod)
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.LbPoolV2Builder sessionPersistence(SessionPersistence sessionPersistence)
sessionPersistence
- Default value empty dictionaryLbPoolV2Builder adminStateUp(boolean adminStateUp)
adminStateUp
- The administrative state of the lb pool, which is up (true) or
down (false). Default value true.LbPoolV2Builder listenerId(String listenerId)
listenerId
- Copyright © 2017. All rights reserved.