Class LicenseState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LicenseState>
com.azure.resourcemanager.hybridcompute.models.LicenseState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Describes the state of the license.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LicenseStateStatic value Activated for LicenseState.static final LicenseStateStatic value Deactivated for LicenseState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LicenseStatefromString(String name) Creates or finds a LicenseState from its string representation.static Collection<LicenseState> values()Gets known LicenseState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVATED
Static value Activated for LicenseState. -
DEACTIVATED
Static value Deactivated for LicenseState.
-
-
Constructor Details
-
LicenseState
Deprecated.Use thefromString(String)factory method.Creates a new instance of LicenseState value.
-
-
Method Details
-
fromString
Creates or finds a LicenseState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LicenseState.
-
values
Gets known LicenseState values.- Returns:
- known LicenseState values.
-
fromString(String)factory method.