public interface LbPoolBuilder extends Buildable.Builder<LbPoolBuilder,LbPool>
Modifier and Type | Method and Description |
---|---|
LbPoolBuilder |
adminStateUp(boolean adminStateUp) |
LbPoolBuilder |
description(String description) |
LbPoolBuilder |
lbMethod(LbMethod lbMethod) |
LbPoolBuilder |
name(String name) |
LbPoolBuilder |
protocol(Protocol protocol) |
LbPoolBuilder |
provider(String provider) |
LbPoolBuilder |
subnetId(String subnentId) |
LbPoolBuilder |
tenantId(String tenantId) |
build, from
LbPoolBuilder tenantId(String tenantId)
tenantId
- Owner of the pool. Only an administrative user can specify a
tenant ID other than its own.LbPoolBuilder protocol(Protocol protocol)
protocol
- The protocol of the VIP address. A valid value is TCP, HTTP,
or HTTPS.LbPoolBuilder name(String name)
name
- Pool name. Does not have to be unique.LbPoolBuilder description(String description)
description
- Description for the pool.LbPoolBuilder subnetId(String subnentId)
subnentId
- The ID of the subnet on which to allocate the VIP address.LbPoolBuilder provider(String provider)
provider
- Loadbalance provider which openstack supports,such as haproxyLbPoolBuilder 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.LbPoolBuilder adminStateUp(boolean adminStateUp)
adminStateUp
- The administrative state of the lb pool, which is up (true) or
down (false).Copyright © 2017. All rights reserved.