Enum Class EnvironmentKind

java.lang.Object
java.lang.Enum<EnvironmentKind>
com.github.copilot.generated.rpc.EnvironmentKind
All Implemented Interfaces:
Serializable, Comparable<EnvironmentKind>, Constable

@CopilotExperimental @Generated("copilot-sdk-codegen") public enum EnvironmentKind extends Enum<EnvironmentKind>
GitHub Mission Control compute kind.
Since:
1.0.0
  • Enum Constant Details

    • USER_LOCAL

      public static final EnvironmentKind USER_LOCAL
      The user-local variant.
    • USER_CODESPACE

      public static final EnvironmentKind USER_CODESPACE
      The user-codespace variant.
    • MANAGED_ACTIONS

      public static final EnvironmentKind MANAGED_ACTIONS
      The managed-actions variant.
    • MANAGED_SANDBOX

      public static final EnvironmentKind MANAGED_SANDBOX
      The managed-sandbox variant.
    • MANAGED_CCA

      public static final EnvironmentKind MANAGED_CCA
      The managed-cca variant.
  • Method Details

    • values

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

      public static EnvironmentKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static EnvironmentKind fromValue(String value)