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 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