Share via


PolicyContentFormat Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.apimanagement.v2019_01_01.PolicyContentFormat

public final class PolicyContentFormat
extends com.microsoft.rest.ExpandableStringEnum<PolicyContentFormat>

Defines values for PolicyContentFormat.

Field Summary

Modifier and Type Field and Description
static final PolicyContentFormat RAWXML

Static value rawxml for PolicyContentFormat.

static final PolicyContentFormat RAWXML_LINK

Static value rawxml-link for PolicyContentFormat.

static final PolicyContentFormat XML

Static value xml for PolicyContentFormat.

static final PolicyContentFormat XML_LINK

Static value xml-link for PolicyContentFormat.

Constructor Summary

Constructor Description
PolicyContentFormat()

Method Summary

Modifier and Type Method and Description
static PolicyContentFormat fromString(String name)

Creates or finds a PolicyContentFormat from its string representation.

static java.util.Collection<PolicyContentFormat> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

RAWXML

public static final PolicyContentFormat RAWXML

Static value rawxml for PolicyContentFormat.

public static final PolicyContentFormat RAWXML_LINK

Static value rawxml-link for PolicyContentFormat.

XML

public static final PolicyContentFormat XML

Static value xml for PolicyContentFormat.

public static final PolicyContentFormat XML_LINK

Static value xml-link for PolicyContentFormat.

Constructor Details

PolicyContentFormat

public PolicyContentFormat()

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()

Returns:

known PolicyContentFormat values

Applies to