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