Class NodePoolCyclingDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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