Class PolicyContentFormat

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyContentFormat>
com.azure.resourcemanager.apimanagement.models.PolicyContentFormat
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PolicyContentFormat extends com.azure.core.util.ExpandableStringEnum<PolicyContentFormat>
Format of the policyContent.
  • Field Details

    • XML

      public static final PolicyContentFormat XML
      Static value xml for PolicyContentFormat.
    • RAWXML

      public static final PolicyContentFormat RAWXML
      Static value rawxml for PolicyContentFormat.
  • Constructor Details

    • PolicyContentFormat

      @Deprecated public PolicyContentFormat()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PolicyContentFormat value.
  • Method Details

    • fromString

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

      public static Collection<PolicyContentFormat> values()
      Gets known PolicyContentFormat values.
      Returns:
      known PolicyContentFormat values.