Enum CpuManager.PolicyEnum

java.lang.Object
java.lang.Enum<CpuManager.PolicyEnum>
com.exoscale.sdk.model.CpuManager.PolicyEnum
All Implemented Interfaces:
Serializable, Comparable<CpuManager.PolicyEnum>, java.lang.constant.Constable
Enclosing class:
CpuManager

public static enum CpuManager.PolicyEnum extends Enum<CpuManager.PolicyEnum>
CPU management policy used by the kubelet. The \"static\" policy grants exclusive CPUs to Guaranteed pods requesting integer CPU limits. When set to \"static\", a cpu value must be set in the Nodepool kube-reserved or system-reserved
  • Enum Constant Details

  • Method Details

    • values

      public static CpuManager.PolicyEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CpuManager.PolicyEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CpuManager.PolicyEnum>
    • fromValue

      public static CpuManager.PolicyEnum fromValue(String value)