Interface LbPoolUpdateBuilder
-
- All Superinterfaces:
Buildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>
- All Known Implementing Classes:
NeutronLbPoolUpdate.LbPoolUpdateContreteBuilder
public interface LbPoolUpdateBuilder extends Buildable.Builder<LbPoolUpdateBuilder,LbPoolUpdate>
A Builder to update a lbpool- Author:
- liujunpeng
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LbPoolUpdateBuilderadminStateUp(boolean adminStateUp)LbPoolUpdateBuilderdescription(String description)LbPoolUpdateBuilderlbMethod(LbMethod lbMethod)LbPoolUpdateBuildername(String name)-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
lbMethod
LbPoolUpdateBuilder lbMethod(LbMethod lbMethod)
- 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
LbPoolUpdateBuilder name(String name)
- Parameters:
name- Pool name. Does not have to be unique.- Returns:
- LbPoolUpdateBuilder
-
description
LbPoolUpdateBuilder description(String description)
- Parameters:
description- Description for the pool.- Returns:
- LbPoolUpdateBuilder
-
adminStateUp
LbPoolUpdateBuilder adminStateUp(boolean adminStateUp)
- Parameters:
adminStateUp- The administrative state of the lb pool, which is up (true) or down (false).- Returns:
- LbPoolUpdateBuilder
-
-