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 Summary
FieldsModifier and TypeFieldDescriptionstatic final PolicyContentFormatStatic value rawxml for PolicyContentFormat.static final PolicyContentFormatStatic value rawxml-link for PolicyContentFormat.static final PolicyContentFormatStatic value xml for PolicyContentFormat.static final PolicyContentFormatStatic value xml-link for PolicyContentFormat. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyContentFormatfromString(String name) Creates or finds a PolicyContentFormat from its string representation.static Collection<PolicyContentFormat> values()Gets known PolicyContentFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
XML
Static value xml for PolicyContentFormat. -
XML_LINK
Static value xml-link for PolicyContentFormat. -
RAWXML
Static value rawxml for PolicyContentFormat. -
RAWXML_LINK
Static value rawxml-link for PolicyContentFormat.
-
-
Constructor Details
-
PolicyContentFormat
Deprecated.Use thefromString(String)factory method.Creates a new instance of PolicyContentFormat value.
-
-
Method Details
-
fromString
Creates or finds a PolicyContentFormat from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PolicyContentFormat.
-
values
Gets known PolicyContentFormat values.- Returns:
- known PolicyContentFormat values.
-
fromString(String)factory method.