public static class NeutronLbPool.LbPoolContreteBuilder extends Object implements LbPoolBuilder
| Constructor and Description |
|---|
LbPoolContreteBuilder() |
LbPoolContreteBuilder(NeutronLbPool m) |
| Modifier and Type | Method and Description |
|---|---|
LbPoolBuilder |
adminStateUp(boolean adminStateUp) |
LbPool |
build()
Creates and return the Model Entity M
|
LbPoolBuilder |
description(String description) |
LbPoolBuilder |
from(LbPool in)
Creates a Builder using the param M as the default values
|
LbPoolBuilder |
lbMethod(LbMethod lbMethod) |
LbPoolBuilder |
name(String name) |
LbPoolBuilder |
protocol(Protocol protocol) |
LbPoolBuilder |
provider(String provider) |
LbPoolBuilder |
subnetId(String subnentId) |
LbPoolBuilder |
tenantId(String tenantId) |
public LbPoolContreteBuilder()
public LbPoolContreteBuilder(NeutronLbPool m)
public LbPool build()
Buildable.Builderbuild in interface Buildable.Builder<LbPoolBuilder,LbPool>public LbPoolBuilder from(LbPool in)
Buildable.Builderfrom in interface Buildable.Builder<LbPoolBuilder,LbPool>public LbPoolBuilder tenantId(String tenantId)
tenantId in interface LbPoolBuildertenantId - Owner of the pool. Only an administrative user can specify a
tenant ID other than its own.public LbPoolBuilder name(String name)
name in interface LbPoolBuildername - Pool name. Does not have to be unique.public LbPoolBuilder description(String description)
description in interface LbPoolBuilderdescription - Description for the pool.public LbPoolBuilder subnetId(String subnentId)
subnetId in interface LbPoolBuildersubnentId - The ID of the subnet on which to allocate the VIP address.public LbPoolBuilder provider(String provider)
provider in interface LbPoolBuilderprovider - Loadbalance provider which openstack supports,such as haproxypublic LbPoolBuilder lbMethod(LbMethod lbMethod)
lbMethod in interface LbPoolBuilderlbMethod - 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.public LbPoolBuilder adminStateUp(boolean adminStateUp)
adminStateUp in interface LbPoolBuilderadminStateUp - The administrative state of the lb pool, which is up (true) or
down (false).public LbPoolBuilder protocol(Protocol protocol)
protocol in interface LbPoolBuilderprotocol - The protocol of the VIP address. A valid value is TCP, HTTP,
or HTTPS.Copyright © 2017. All rights reserved.