Class NodePoolCyclingDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.NodePoolCyclingDetails.Builder
-
- Enclosing class:
- NodePoolCyclingDetails
public static class NodePoolCyclingDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePoolCyclingDetailsbuild()NodePoolCyclingDetails.Buildercopy(NodePoolCyclingDetails model)NodePoolCyclingDetails.BuildercycleModes(List<CycleMode> cycleModes)An ordered list of cycle modes that should be performed on the OKE nodes.NodePoolCyclingDetails.BuilderisNodeCyclingEnabled(Boolean isNodeCyclingEnabled)If cycling operation should be performed on the nodes in the node pool.NodePoolCyclingDetails.BuildermaximumSurge(String maximumSurge)Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process.NodePoolCyclingDetails.BuildermaximumUnavailable(String maximumUnavailable)Maximum active nodes that would be terminated from nodepool during the cycling nodepool process.
-
-
-
Method Detail
-
maximumUnavailable
public NodePoolCyclingDetails.Builder maximumUnavailable(String maximumUnavailable)
Maximum active nodes that would be terminated from nodepool during the cycling nodepool process.OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
- Parameters:
maximumUnavailable- the value to set- Returns:
- this builder
-
maximumSurge
public NodePoolCyclingDetails.Builder maximumSurge(String maximumSurge)
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process.OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
- Parameters:
maximumSurge- the value to set- Returns:
- this builder
-
isNodeCyclingEnabled
public NodePoolCyclingDetails.Builder isNodeCyclingEnabled(Boolean isNodeCyclingEnabled)
If cycling operation should be performed on the nodes in the node pool.- Parameters:
isNodeCyclingEnabled- the value to set- Returns:
- this builder
-
cycleModes
public NodePoolCyclingDetails.Builder cycleModes(List<CycleMode> cycleModes)
An ordered list of cycle modes that should be performed on the OKE nodes.- Parameters:
cycleModes- the value to set- Returns:
- this builder
-
build
public NodePoolCyclingDetails build()
-
copy
public NodePoolCyclingDetails.Builder copy(NodePoolCyclingDetails model)
-
-