Class SnapshotAccessState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SnapshotAccessState>
com.azure.resourcemanager.compute.models.SnapshotAccessState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SnapshotAccessState
extends com.azure.core.util.ExpandableStringEnum<SnapshotAccessState>
The state of snapshot which determines the access availability of the snapshot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SnapshotAccessStateStatic value Available for SnapshotAccessState.static final SnapshotAccessStateStatic value AvailableWithInstantAccess for SnapshotAccessState.static final SnapshotAccessStateStatic value InstantAccess for SnapshotAccessState.static final SnapshotAccessStateStatic value Pending for SnapshotAccessState.static final SnapshotAccessStateStatic value Unknown for SnapshotAccessState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotAccessStatefromString(String name) Creates or finds a SnapshotAccessState from its string representation.static Collection<SnapshotAccessState> values()Gets known SnapshotAccessState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for SnapshotAccessState. -
PENDING
Static value Pending for SnapshotAccessState. -
AVAILABLE
Static value Available for SnapshotAccessState. -
INSTANT_ACCESS
Static value InstantAccess for SnapshotAccessState. -
AVAILABLE_WITH_INSTANT_ACCESS
Static value AvailableWithInstantAccess for SnapshotAccessState.
-
-
Constructor Details
-
SnapshotAccessState
Deprecated.Use thefromString(String)factory method.Creates a new instance of SnapshotAccessState value.
-
-
Method Details
-
fromString
Creates or finds a SnapshotAccessState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SnapshotAccessState.
-
values
Gets known SnapshotAccessState values.- Returns:
- known SnapshotAccessState values.
-
fromString(String)factory method.