java.lang.Object
com.azure.core.util.ExpandableStringEnum<Code>
com.azure.resourcemanager.containerservice.models.Code

public final class Code extends com.azure.core.util.ExpandableStringEnum<Code>
Tells whether the cluster is Running or Stopped.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Code
    Static value Running for Code.
    static final Code
    Static value Stopped for Code.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Code
    Creates or finds a Code from its string representation.
    Gets known Code values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • RUNNING

      public static final Code RUNNING
      Static value Running for Code.
    • STOPPED

      public static final Code STOPPED
      Static value Stopped for Code.
  • Constructor Details

    • Code

      public Code()
  • Method Details

    • fromString

      public static Code fromString(String name)
      Creates or finds a Code from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Code.
    • values

      public static Collection<Code> values()
      Gets known Code values.
      Returns:
      known Code values.