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 LbPoolUpdateBuilder
adminStateUp(boolean adminStateUp)
LbPoolUpdate
build()
Creates and return the Model Entity MLbPoolUpdateBuilder
description(String description)
LbPoolUpdateBuilder
from(LbPoolUpdate in)
Creates a Builder using the param M as the default valuesLbPoolUpdateBuilder
lbMethod(LbMethod lbMethod)
LbPoolUpdateBuilder
name(String name)
-
-
-
Constructor Detail
-
LbPoolUpdateContreteBuilder
public LbPoolUpdateContreteBuilder()
-
LbPoolUpdateContreteBuilder
public LbPoolUpdateContreteBuilder(NeutronLbPoolUpdate m)
-
-
Method Detail
-
build
public LbPoolUpdate build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>
- Returns:
- M instance
-
from
public LbPoolUpdateBuilder from(LbPoolUpdate in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>
- Returns:
- Builder
-
lbMethod
public LbPoolUpdateBuilder lbMethod(LbMethod lbMethod)
- Specified by:
lbMethod
in 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:
name
in interfaceLbPoolUpdateBuilder
- Parameters:
name
- Pool name. Does not have to be unique.- Returns:
- LbPoolUpdateBuilder
-
description
public LbPoolUpdateBuilder description(String description)
- Specified by:
description
in interfaceLbPoolUpdateBuilder
- Parameters:
description
- Description for the pool.- Returns:
- LbPoolUpdateBuilder
-
adminStateUp
public LbPoolUpdateBuilder adminStateUp(boolean adminStateUp)
- Specified by:
adminStateUp
in interfaceLbPoolUpdateBuilder
- Parameters:
adminStateUp
- The administrative state of the lb pool, which is up (true) or down (false).- Returns:
- LbPoolUpdateBuilder
-
-