Class PolicyType


  • public final class PolicyType
    extends com.azure.core.util.ExpandableStringEnum<PolicyType>
    Defines values for PolicyType.
    • Field Detail

      • NOT_SPECIFIED

        public static final PolicyType NOT_SPECIFIED
        Static value NotSpecified for PolicyType.
      • BUILT_IN

        public static final PolicyType BUILT_IN
        Static value BuiltIn for PolicyType.
      • CUSTOM

        public static final PolicyType CUSTOM
        Static value Custom for PolicyType.
      • STATIC

        public static final PolicyType STATIC
        Static value Static for PolicyType.
    • Constructor Detail

      • PolicyType

        public PolicyType()
    • Method Detail

      • fromString

        public static PolicyType fromString​(String name)
        Creates or finds a PolicyType from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding PolicyType.