java.lang.Object
com.azure.core.util.ExpandableStringEnum<LicenseState>
com.azure.resourcemanager.hybridcompute.models.LicenseState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class LicenseState extends com.azure.core.util.ExpandableStringEnum<LicenseState>
Describes the state of the license.
  • Field Details

    • ACTIVATED

      public static final LicenseState ACTIVATED
      Static value Activated for LicenseState.
    • DEACTIVATED

      public static final LicenseState DEACTIVATED
      Static value Deactivated for LicenseState.
  • Constructor Details

    • LicenseState

      @Deprecated public LicenseState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of LicenseState value.
  • Method Details

    • fromString

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

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