PolicyContentFormat Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. apimanagement. models. PolicyContentFormat
- com.
- com.
public final class PolicyContentFormat
extends ExpandableStringEnum<PolicyContentFormat>
Format of the policyContent.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Policy |
RAWXML
Static value rawxml for Policy |
static final
Policy |
RAWXML_LINK
Static value rawxml-link for Policy |
static final
Policy |
XML
Static value xml for Policy |
static final
Policy |
XML_LINK
Static value xml-link for Policy |
Constructor Summary
Constructor | Description |
---|---|
PolicyContentFormat() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromString(String name)
Creates or finds a Policy |
static
Collection<Policy |
values()
Gets known Policy |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
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.
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.
Constructor Details
PolicyContentFormat
@Deprecated
public PolicyContentFormat()
Deprecated
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:
Returns:
values
public static Collection
Gets known PolicyContentFormat values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for