SnapshotComposition Class

public final class SnapshotComposition
extends ExpandableStringEnum<SnapshotComposition>

The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label.

Field Summary

Modifier and Type Field and Description
static final SnapshotComposition KEY

Static value key for SnapshotComposition.

static final SnapshotComposition KEY_LABEL

Static value key_label for SnapshotComposition.

Constructor Summary

Constructor Description
SnapshotComposition()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotComposition value.

Method Summary

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

Creates or finds a SnapshotComposition from its string representation.

static Collection<SnapshotComposition> values()

Gets known SnapshotComposition values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

KEY

public static final SnapshotComposition KEY

Static value key for SnapshotComposition.

KEY_LABEL

public static final SnapshotComposition KEY_LABEL

Static value key_label for SnapshotComposition.

Constructor Details

SnapshotComposition

@Deprecated
public SnapshotComposition()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotComposition value.

Method Details

fromString

public static SnapshotComposition fromString(String name)

Creates or finds a SnapshotComposition from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SnapshotComposition.

values

public static Collection values()

Gets known SnapshotComposition values.

Returns:

known SnapshotComposition values.

Applies to