Class HostCachingOptions
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HostCachingOptions>
com.azure.resourcemanager.devtestlabs.models.HostCachingOptions
public final class HostCachingOptions
extends com.azure.core.util.ExpandableStringEnum<HostCachingOptions>
Caching option for a data disk (i.e. None, ReadOnly, ReadWrite).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HostCachingOptions
Static value None for HostCachingOptions.static final HostCachingOptions
Static value ReadOnly for HostCachingOptions.static final HostCachingOptions
Static value ReadWrite for HostCachingOptions. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HostCachingOptions
fromString
(String name) Creates or finds a HostCachingOptions from its string representation.static Collection<HostCachingOptions>
values()
Gets known HostCachingOptions values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NONE
Static value None for HostCachingOptions. -
READ_ONLY
Static value ReadOnly for HostCachingOptions. -
READ_WRITE
Static value ReadWrite for HostCachingOptions.
-
-
Constructor Details
-
HostCachingOptions
Deprecated.Use thefromString(String)
factory method.Creates a new instance of HostCachingOptions value.
-
-
Method Details
-
fromString
Creates or finds a HostCachingOptions from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HostCachingOptions.
-
values
Gets known HostCachingOptions values.- Returns:
- known HostCachingOptions values.
-
fromString(String)
factory method.