Class ExemptionCategory
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ExemptionCategory>
com.azure.resourcemanager.resources.models.ExemptionCategory
public final class ExemptionCategory
extends com.azure.core.util.ExpandableStringEnum<ExemptionCategory>
The policy exemption category. Possible values are Waiver and Mitigated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExemptionCategoryStatic value Mitigated for ExemptionCategory.static final ExemptionCategoryStatic value Waiver for ExemptionCategory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExemptionCategoryfromString(String name) Creates or finds a ExemptionCategory from its string representation.static Collection<ExemptionCategory>values()Gets known ExemptionCategory values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
WAIVER
Static value Waiver for ExemptionCategory. -
MITIGATED
Static value Mitigated for ExemptionCategory.
-
-
Constructor Details
-
ExemptionCategory
Deprecated.Use thefromString(String)factory method.Creates a new instance of ExemptionCategory value.
-
-
Method Details
-
fromString
Creates or finds a ExemptionCategory from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ExemptionCategory.
-
values
Gets known ExemptionCategory values.- Returns:
- known ExemptionCategory values.
-
fromString(String)factory method.