CacheBehavior Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. CacheBehavior
- com.
- com.
public final class CacheBehavior
extends ExpandableStringEnum<CacheBehavior>
Caching behavior for the requests.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Cache |
BYPASS_CACHE
Static value Bypass |
|
static final
Cache |
OVERRIDE
Static value Override for Cache |
|
static final
Cache |
SET_IF_MISSING
Static value Set |
Constructor Summary
| Constructor | Description |
|---|---|
| CacheBehavior() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cache |
fromString(String name)
Creates or finds a Cache |
|
static
Collection<Cache |
values()
Gets known Cache |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BYPASS_CACHE
public static final CacheBehavior BYPASS_CACHE
Static value BypassCache for CacheBehavior.
OVERRIDE
public static final CacheBehavior OVERRIDE
Static value Override for CacheBehavior.
SET_IF_MISSING
public static final CacheBehavior SET_IF_MISSING
Static value SetIfMissing for CacheBehavior.
Constructor Details
CacheBehavior
@Deprecated
public CacheBehavior()
Deprecated
Creates a new instance of CacheBehavior value.
Method Details
fromString
public static CacheBehavior fromString(String name)
Creates or finds a CacheBehavior from its string representation.
Parameters:
Returns:
values
public static Collection<CacheBehavior> values()
Gets known CacheBehavior values.
Returns: