Class NeutronLbPoolUpdate.LbPoolUpdateContreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.NeutronLbPoolUpdate.LbPoolUpdateContreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>,LbPoolUpdateBuilder
- Enclosing class:
- NeutronLbPoolUpdate
public static class NeutronLbPoolUpdate.LbPoolUpdateContreteBuilder extends Object implements LbPoolUpdateBuilder
-
-
Constructor Summary
Constructors Constructor Description LbPoolUpdateContreteBuilder()LbPoolUpdateContreteBuilder(NeutronLbPoolUpdate m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LbPoolUpdateBuilderadminStateUp(boolean adminStateUp)LbPoolUpdatebuild()Creates and return the Model Entity MLbPoolUpdateBuilderdescription(String description)LbPoolUpdateBuilderfrom(LbPoolUpdate in)Creates a Builder using the param M as the default valuesLbPoolUpdateBuilderlbMethod(LbMethod lbMethod)LbPoolUpdateBuildername(String name)
-
-
-
Constructor Detail
-
LbPoolUpdateContreteBuilder
public LbPoolUpdateContreteBuilder()
-
LbPoolUpdateContreteBuilder
public LbPoolUpdateContreteBuilder(NeutronLbPoolUpdate m)
-
-
Method Detail
-
build
public LbPoolUpdate build()
Description copied from interface:Buildable.BuilderCreates and return the Model Entity M- Specified by:
buildin interfaceBuildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>- Returns:
- M instance
-
from
public LbPoolUpdateBuilder from(LbPoolUpdate in)
Description copied from interface:Buildable.BuilderCreates a Builder using the param M as the default values- Specified by:
fromin interfaceBuildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>- Returns:
- Builder
-
lbMethod
public LbPoolUpdateBuilder lbMethod(LbMethod lbMethod)
- Specified by:
lbMethodin interfaceLbPoolUpdateBuilder- Parameters:
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.- Returns:
- LbPoolUpdateBuilder
-
name
public LbPoolUpdateBuilder name(String name)
- Specified by:
namein interfaceLbPoolUpdateBuilder- Parameters:
name- Pool name. Does not have to be unique.- Returns:
- LbPoolUpdateBuilder
-
description
public LbPoolUpdateBuilder description(String description)
- Specified by:
descriptionin interfaceLbPoolUpdateBuilder- Parameters:
description- Description for the pool.- Returns:
- LbPoolUpdateBuilder
-
adminStateUp
public LbPoolUpdateBuilder adminStateUp(boolean adminStateUp)
- Specified by:
adminStateUpin interfaceLbPoolUpdateBuilder- Parameters:
adminStateUp- The administrative state of the lb pool, which is up (true) or down (false).- Returns:
- LbPoolUpdateBuilder
-
-