Class RuleCacheBehavior

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

public final class RuleCacheBehavior extends com.azure.core.util.ExpandableStringEnum<RuleCacheBehavior>
Caching behavior for the requests.
  • Field Details

    • HONOR_ORIGIN

      public static final RuleCacheBehavior HONOR_ORIGIN
      Static value HonorOrigin for RuleCacheBehavior.
    • OVERRIDE_ALWAYS

      public static final RuleCacheBehavior OVERRIDE_ALWAYS
      Static value OverrideAlways for RuleCacheBehavior.
    • OVERRIDE_IF_ORIGIN_MISSING

      public static final RuleCacheBehavior OVERRIDE_IF_ORIGIN_MISSING
      Static value OverrideIfOriginMissing for RuleCacheBehavior.
  • Constructor Details

    • RuleCacheBehavior

      @Deprecated public RuleCacheBehavior()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of RuleCacheBehavior value.
  • Method Details

    • fromString

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

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