Class Code


  • public final class Code
    extends com.azure.core.util.ExpandableStringEnum<Code>
    Defines values for Code.
    • Field Detail

      • RUNNING

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

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

      • Code

        public Code()
    • Method Detail

      • 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()
        Returns:
        known Code values.