Freigeben über


SnapshotAccessState Class

public final class SnapshotAccessState
extends ExpandableStringEnum<SnapshotAccessState>

The state of snapshot which determines the access availability of the snapshot.

Field Summary

Modifier and Type Field and Description
static final SnapshotAccessState AVAILABLE

Static value Available for SnapshotAccessState.

static final SnapshotAccessState AVAILABLE_WITH_INSTANT_ACCESS

Static value AvailableWithInstantAccess for SnapshotAccessState.

static final SnapshotAccessState INSTANT_ACCESS

Static value InstantAccess for SnapshotAccessState.

static final SnapshotAccessState PENDING

Static value Pending for SnapshotAccessState.

static final SnapshotAccessState UNKNOWN

Static value Unknown for SnapshotAccessState.

Constructor Summary

Constructor Description
SnapshotAccessState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotAccessState value.

Method Summary

Modifier and Type Method and Description
static SnapshotAccessState fromString(String name)

Creates or finds a SnapshotAccessState from its string representation.

static Collection<SnapshotAccessState> values()

Gets known SnapshotAccessState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVAILABLE

public static final SnapshotAccessState AVAILABLE

Static value Available for SnapshotAccessState.

AVAILABLE_WITH_INSTANT_ACCESS

public static final SnapshotAccessState AVAILABLE_WITH_INSTANT_ACCESS

Static value AvailableWithInstantAccess for SnapshotAccessState.

INSTANT_ACCESS

public static final SnapshotAccessState INSTANT_ACCESS

Static value InstantAccess for SnapshotAccessState.

PENDING

public static final SnapshotAccessState PENDING

Static value Pending for SnapshotAccessState.

UNKNOWN

public static final SnapshotAccessState UNKNOWN

Static value Unknown for SnapshotAccessState.

Constructor Details

SnapshotAccessState

@Deprecated
public SnapshotAccessState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotAccessState value.

Method Details

fromString

public static SnapshotAccessState fromString(String name)

Creates or finds a SnapshotAccessState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SnapshotAccessState.

values

public static Collection<SnapshotAccessState> values()

Gets known SnapshotAccessState values.

Returns:

known SnapshotAccessState values.

Applies to