Class CacheType

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

public final class CacheType extends com.azure.core.util.ExpandableStringEnum<CacheType>
The level at which the content needs to be cached.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CacheType
    Static value All for CacheType.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static CacheType
    Creates or finds a CacheType from its string representation.
    Gets known CacheType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ALL

      public static final CacheType ALL
      Static value All for CacheType.
  • Constructor Details

  • Method Details

    • fromString

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

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