Partilhar via


SnapshotType Class

public final class SnapshotType
extends ExpandableStringEnum<SnapshotType>

The type of a snapshot. The default is NodePool.

Field Summary

Modifier and Type Field and Description
static final SnapshotType NODE_POOL

Static value NodePool for SnapshotType.

Constructor Summary

Constructor Description
SnapshotType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotType value.

Method Summary

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

Creates or finds a SnapshotType from its string representation.

static Collection<SnapshotType> values()

Gets known SnapshotType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NODE_POOL

public static final SnapshotType NODE_POOL

Static value NodePool for SnapshotType.

Constructor Details

SnapshotType

@Deprecated
public SnapshotType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotType value.

Method Details

fromString

public static SnapshotType fromString(String name)

Creates or finds a SnapshotType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SnapshotType.

values

public static Collection values()

Gets known SnapshotType values.

Returns:

known SnapshotType values.

Applies to