public static class NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder extends Object implements LbPoolV2UpdateBuilder
Constructor and Description |
---|
LbPoolV2UpdateContreteBuilder() |
LbPoolV2UpdateContreteBuilder(NeutronLbPoolV2Update m) |
Modifier and Type | Method and Description |
---|---|
NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder |
adminStateUp(boolean adminStateUp) |
LbPoolV2Update |
build()
Creates and return the Model Entity M
|
NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder |
description(String description) |
NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder |
from(LbPoolV2Update in)
Creates a Builder using the param M as the default values
|
NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder |
lbMethod(LbMethod lbMethod) |
NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder |
name(String name) |
LbPoolV2UpdateBuilder |
sessionPersistence(SessionPersistence sessionPersistence)
Optional
|
public LbPoolV2UpdateContreteBuilder()
public LbPoolV2UpdateContreteBuilder(NeutronLbPoolV2Update m)
public LbPoolV2Update build()
Buildable.Builder
build
in interface Buildable.Builder<LbPoolV2UpdateBuilder,LbPoolV2Update>
public NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder from(LbPoolV2Update in)
Buildable.Builder
from
in interface Buildable.Builder<LbPoolV2UpdateBuilder,LbPoolV2Update>
public NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder lbMethod(LbMethod lbMethod)
lbMethod
in interface LbPoolV2UpdateBuilder
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.public NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder name(String name)
name
in interface LbPoolV2UpdateBuilder
name
- Pool name. Does not have to be unique.public NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder description(String description)
description
in interface LbPoolV2UpdateBuilder
description
- Description for the pool.public LbPoolV2UpdateBuilder sessionPersistence(SessionPersistence sessionPersistence)
sessionPersistence
in interface LbPoolV2UpdateBuilder
sessionPersistence
- Session persistence parameters for the lbpool. Omit the
session_persistence parameter to prevent session persistence.
When no session persistence is used, the session_persistence
parameter does not appear in the API response. To clear
session persistence for the lbpool, set the session_persistence
parameter to null in a lbpool update request.public NeutronLbPoolV2Update.LbPoolV2UpdateContreteBuilder adminStateUp(boolean adminStateUp)
adminStateUp
in interface LbPoolV2UpdateBuilder
adminStateUp
- The administrative state of the lb pool, which is up (true) or
down (false).Copyright © 2017. All rights reserved.