public static class NodePoolCyclingDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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%
maximumUnavailable
- the value to setpublic 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%
maximumSurge
- the value to setpublic NodePoolCyclingDetails.Builder isNodeCyclingEnabled(Boolean isNodeCyclingEnabled)
If nodes in the nodepool will be cycled to have new changes.
isNodeCyclingEnabled
- the value to setpublic NodePoolCyclingDetails build()
public NodePoolCyclingDetails.Builder copy(NodePoolCyclingDetails model)
Copyright © 2016–2024. All rights reserved.