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 NodePoolCyclingDetails
build()
NodePoolCyclingDetails.Builder
copy(NodePoolCyclingDetails model)
NodePoolCyclingDetails.Builder
isNodeCyclingEnabled(Boolean isNodeCyclingEnabled)
If nodes in the nodepool will be cycled to have new changes.NodePoolCyclingDetails.Builder
maximumSurge(String maximumSurge)
Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process.NodePoolCyclingDetails.Builder
maximumUnavailable(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 nodes in the nodepool will be cycled to have new changes.- Parameters:
isNodeCyclingEnabled
- the value to set- Returns:
- this builder
-
build
public NodePoolCyclingDetails build()
-
copy
public NodePoolCyclingDetails.Builder copy(NodePoolCyclingDetails model)
-
-