CachingType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. CachingType
- com.
- com.
public final class CachingType
extends ExpandableStringEnum<CachingType>
CachingType enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Caching |
NONE
The caching mode for the disk is not enabled. |
|
static final
Caching |
READ_ONLY
The caching mode for the disk is read only. |
|
static final
Caching |
READ_WRITE
The caching mode for the disk is read and write. |
Constructor Summary
| Constructor | Description |
|---|---|
| CachingType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Caching |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Caching |
fromString(String name)
Creates or finds a Caching |
|
static
Collection<Caching |
values()
Gets known Caching |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final CachingType NONE
The caching mode for the disk is not enabled.
READ_ONLY
public static final CachingType READ_ONLY
The caching mode for the disk is read only.
READ_WRITE
public static final CachingType READ_WRITE
The caching mode for the disk is read and write.
Constructor Details
CachingType
@Deprecated
public CachingType()
Deprecated
Creates a new instance of CachingType value.
Method Details
fromString
public static CachingType fromString(String name)
Creates or finds a CachingType from its string representation.
Parameters:
Returns:
values
public static Collection<CachingType> values()
Gets known CachingType values.
Returns: