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>
Caching behavior for the requests.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuleCacheBehaviorStatic value HonorOrigin for RuleCacheBehavior.static final RuleCacheBehaviorStatic value OverrideAlways for RuleCacheBehavior.static final RuleCacheBehaviorStatic value OverrideIfOriginMissing for RuleCacheBehavior. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleCacheBehaviorfromString(String name) Creates or finds a RuleCacheBehavior from its string representation.static Collection<RuleCacheBehavior>values()Gets known RuleCacheBehavior values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
HONOR_ORIGIN
Static value HonorOrigin for RuleCacheBehavior. -
OVERRIDE_ALWAYS
Static value OverrideAlways for RuleCacheBehavior. -
OVERRIDE_IF_ORIGIN_MISSING
Static value OverrideIfOriginMissing for RuleCacheBehavior.
-
-
Constructor Details
-
RuleCacheBehavior
public RuleCacheBehavior()
-
-
Method Details
-
fromString
Creates or finds a RuleCacheBehavior from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RuleCacheBehavior.
-
values
Gets known RuleCacheBehavior values.- Returns:
- known RuleCacheBehavior values.
-