PolicyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. PolicyType
- com.
- com.
public final class PolicyType
extends ExpandableStringEnum<PolicyType>
The type of the policy.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Policy |
OTHER
Static value Other for Policy |
|
static final
Policy |
SYSTEM_CONTROLLED
Static value System |
|
static final
Policy |
USER_CONTROLLED
Static value User |
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
OTHER
public static final PolicyType OTHER
Static value Other for PolicyType.
SYSTEM_CONTROLLED
public static final PolicyType SYSTEM_CONTROLLED
Static value SystemControlled for PolicyType.
USER_CONTROLLED
public static final PolicyType USER_CONTROLLED
Static value UserControlled 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<PolicyType> values()
Gets known PolicyType values.
Returns: