Class PolicyEvaluatorType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyEvaluatorType>
com.azure.resourcemanager.devtestlabs.models.PolicyEvaluatorType
public final class PolicyEvaluatorType
extends com.azure.core.util.ExpandableStringEnum<PolicyEvaluatorType>
The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PolicyEvaluatorType
Static value AllowedValuesPolicy for PolicyEvaluatorType.static final PolicyEvaluatorType
Static value MaxValuePolicy for PolicyEvaluatorType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyEvaluatorType
fromString
(String name) Creates or finds a PolicyEvaluatorType from its string representation.static Collection<PolicyEvaluatorType>
values()
Gets known PolicyEvaluatorType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALLOWED_VALUES_POLICY
Static value AllowedValuesPolicy for PolicyEvaluatorType. -
MAX_VALUE_POLICY
Static value MaxValuePolicy for PolicyEvaluatorType.
-
-
Constructor Details
-
PolicyEvaluatorType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PolicyEvaluatorType value.
-
-
Method Details
-
fromString
Creates or finds a PolicyEvaluatorType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PolicyEvaluatorType.
-
values
Gets known PolicyEvaluatorType values.- Returns:
- known PolicyEvaluatorType values.
-
fromString(String)
factory method.