PolicyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. PolicyType
- com.
- com.
public final class PolicyType
extends ExpandableStringEnum<PolicyType>
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Policy |
BUILT_IN
Static value Built |
static final
Policy |
CUSTOM
Static value Custom for Policy |
static final
Policy |
NOT_SPECIFIED
Static value Not |
static final
Policy |
STATIC
Static value Static for Policy |
Constructor Summary
Constructor | Description |
---|---|
PolicyType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromString(String name)
Creates or finds a Policy |
static
Collection<Policy |
values()
Gets known Policy |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BUILT_IN
public static final PolicyType BUILT_IN
Static value BuiltIn for PolicyType.
CUSTOM
public static final PolicyType CUSTOM
Static value Custom for PolicyType.
NOT_SPECIFIED
public static final PolicyType NOT_SPECIFIED
Static value NotSpecified for PolicyType.
STATIC
public static final PolicyType STATIC
Static value Static for PolicyType.
Constructor Details
PolicyType
@Deprecated
public PolicyType()
Deprecated
Creates a new instance of PolicyType value.
Method Details
fromString
public static PolicyType fromString(String name)
Creates or finds a PolicyType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PolicyType values.
Returns:
Applies to
Azure SDK for Java