### YamlMime:JavaType uid: "com.azure.resourcemanager.resources.models.PolicyType" fullName: "com.azure.resourcemanager.resources.models.PolicyType" name: "PolicyType" nameWithType: "PolicyType" summary: "The type of policy definition." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />" - "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />" - "" - "" - "" - "" - classRef: "java.lang.Object" methodsRef: - "clone" - "finalize" - "getClass" - "notify" - "notifyAll" - "wait" - "wait" - "wait" syntax: "public final class **PolicyType**
extends <>" constructors: - uid: "com.azure.resourcemanager.resources.models.PolicyType.PolicyType()" fullName: "com.azure.resourcemanager.resources.models.PolicyType.PolicyType()" name: "PolicyType()" nameWithType: "PolicyType.PolicyType()" summary: "Creates a new instance of PolicyType value." deprecatedTag: "Use the factory method." syntax: "@Deprecated
public PolicyType()" desc: "Creates a new instance of PolicyType value." hasDeprecatedTag: true fields: - uid: "com.azure.resourcemanager.resources.models.PolicyType.BUILT_IN" fullName: "com.azure.resourcemanager.resources.models.PolicyType.BUILT_IN" name: "BUILT_IN" nameWithType: "PolicyType.BUILT_IN" summary: "Static value BuiltIn for PolicyType." modifiers: - "static" - "final" field: type: "" syntax: "public static final PolicyType BUILT_IN" desc: "Static value BuiltIn for PolicyType." - uid: "com.azure.resourcemanager.resources.models.PolicyType.CUSTOM" fullName: "com.azure.resourcemanager.resources.models.PolicyType.CUSTOM" name: "CUSTOM" nameWithType: "PolicyType.CUSTOM" summary: "Static value Custom for PolicyType." modifiers: - "static" - "final" field: type: "" syntax: "public static final PolicyType CUSTOM" desc: "Static value Custom for PolicyType." - uid: "com.azure.resourcemanager.resources.models.PolicyType.NOT_SPECIFIED" fullName: "com.azure.resourcemanager.resources.models.PolicyType.NOT_SPECIFIED" name: "NOT_SPECIFIED" nameWithType: "PolicyType.NOT_SPECIFIED" summary: "Static value NotSpecified for PolicyType." modifiers: - "static" - "final" field: type: "" syntax: "public static final PolicyType NOT_SPECIFIED" desc: "Static value NotSpecified for PolicyType." - uid: "com.azure.resourcemanager.resources.models.PolicyType.STATIC" fullName: "com.azure.resourcemanager.resources.models.PolicyType.STATIC" name: "STATIC" nameWithType: "PolicyType.STATIC" summary: "Static value Static for PolicyType." modifiers: - "static" - "final" field: type: "" syntax: "public static final PolicyType STATIC" desc: "Static value Static for PolicyType." methods: - uid: "com.azure.resourcemanager.resources.models.PolicyType.fromString(java.lang.String)" fullName: "com.azure.resourcemanager.resources.models.PolicyType.fromString(String name)" name: "fromString(String name)" nameWithType: "PolicyType.fromString(String name)" summary: "Creates or finds a PolicyType from its string representation." modifiers: - "static" parameters: - description: "a name to look for." name: "name" type: "String" syntax: "public static PolicyType fromString(String name)" desc: "Creates or finds a PolicyType from its string representation." returns: description: "the corresponding PolicyType." type: "" - uid: "com.azure.resourcemanager.resources.models.PolicyType.values()" fullName: "com.azure.resourcemanager.resources.models.PolicyType.values()" name: "values()" nameWithType: "PolicyType.values()" summary: "Gets known PolicyType values." modifiers: - "static" syntax: "public static Collection values()" desc: "Gets known PolicyType values." returns: description: "known PolicyType values." type: "Collection<>" type: "class" desc: "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static." metadata: {} package: "com.azure.resourcemanager.resources.models" artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0