RuleCacheBehavior Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. RuleCacheBehavior
- com.
- com.
public final class RuleCacheBehavior
extends ExpandableStringEnum<RuleCacheBehavior>
Caching behavior for the requests.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
HONOR_ORIGIN
Static value Honor |
|
static final
Rule |
OVERRIDE_ALWAYS
Static value Override |
|
static final
Rule |
OVERRIDE_IF_ORIGIN_MISSING
Static value Override |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleCacheBehavior() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromString(String name)
Creates or finds a Rule |
|
static
Collection<Rule |
values()
Gets known Rule |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection<RuleCacheBehavior> values()
Gets known RuleCacheBehavior values.
Returns: