Class RuleCacheBehavior
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<RuleCacheBehavior>
-
- com.azure.resourcemanager.cdn.models.RuleCacheBehavior
-
public final class RuleCacheBehavior extends com.azure.core.util.ExpandableStringEnum<RuleCacheBehavior>
Defines values for RuleCacheBehavior.
-
-
Field Summary
Fields Modifier and Type Field Description static RuleCacheBehaviorHONOR_ORIGINStatic value HonorOrigin for RuleCacheBehavior.static RuleCacheBehaviorOVERRIDE_ALWAYSStatic value OverrideAlways for RuleCacheBehavior.static RuleCacheBehaviorOVERRIDE_IF_ORIGIN_MISSINGStatic value OverrideIfOriginMissing for RuleCacheBehavior.
-
Constructor Summary
Constructors Constructor Description RuleCacheBehavior()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuleCacheBehaviorfromString(String name)Creates or finds a RuleCacheBehavior from its string representation.static Collection<RuleCacheBehavior>values()
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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()
- Returns:
- known RuleCacheBehavior values.
-
-