Class PolicyContentFormat
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PolicyContentFormat>
-
- com.azure.resourcemanager.apimanagement.models.PolicyContentFormat
-
public final class PolicyContentFormat extends com.azure.core.util.ExpandableStringEnum<PolicyContentFormat>
Defines values for PolicyContentFormat.
-
-
Field Summary
Fields Modifier and Type Field Description static PolicyContentFormat
RAWXML
Static value rawxml for PolicyContentFormat.static PolicyContentFormat
RAWXML_LINK
Static value rawxml-link for PolicyContentFormat.static PolicyContentFormat
XML
Static value xml for PolicyContentFormat.static PolicyContentFormat
XML_LINK
Static value xml-link for PolicyContentFormat.
-
Constructor Summary
Constructors Constructor Description PolicyContentFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyContentFormat
fromString(String name)
Creates or finds a PolicyContentFormat from its string representation.static Collection<PolicyContentFormat>
values()
-
-
-
Field Detail
-
XML
public static final PolicyContentFormat XML
Static value xml for PolicyContentFormat.
-
XML_LINK
public static final PolicyContentFormat XML_LINK
Static value xml-link for PolicyContentFormat.
-
RAWXML
public static final PolicyContentFormat RAWXML
Static value rawxml for PolicyContentFormat.
-
RAWXML_LINK
public static final PolicyContentFormat RAWXML_LINK
Static value rawxml-link for PolicyContentFormat.
-
-
Method Detail
-
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()
- Returns:
- known PolicyContentFormat values.
-
-