Partager via


SnapshotFields Class

public final class SnapshotFields
extends ExpandableStringEnum<SnapshotFields>

Defines values for SnapshotFields.

Field Summary

Modifier and Type Field and Description
static final SnapshotFields CREATED_AT

Populates the snapshot 'created' from the service.

static final SnapshotFields ETAG

Populates the snapshot `etag` from the service.

static final SnapshotFields EXPIRES_AT

Populates the snapshot 'expires' from the service.

static final SnapshotFields FILTERS

Populates the snapshot 'filters' from the service.

static final SnapshotFields ITEM_COUNT

Populates the snapshot 'items_count' from the service.

static final SnapshotFields NAME

Populates the snapshot 'name' from the service.

static final SnapshotFields RETENTION_PERIOD

Populates the snapshot 'retention_period' from the service.

static final SnapshotFields SIZE_IN_BYTES

Populates the snapshot 'size' from the service.

static final SnapshotFields SNAPSHOT_COMPOSITION

Populates the snapshot 'composition_type' from the service.

static final SnapshotFields STATUS

Populates the snapshot 'status' from the service.

static final SnapshotFields TAGS

Populates the snapshot `tags` from the service.

Constructor Summary

Constructor Description
SnapshotFields()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotFields value.

Method Summary

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

Creates or finds a SnapshotFields from its string representation.

static Collection<SnapshotFields> values()

Gets known SnapshotFields values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATED_AT

public static final SnapshotFields CREATED_AT

Populates the snapshot 'created' from the service.

ETAG

public static final SnapshotFields ETAG

Populates the snapshot `etag` from the service.

EXPIRES_AT

public static final SnapshotFields EXPIRES_AT

Populates the snapshot 'expires' from the service.

FILTERS

public static final SnapshotFields FILTERS

Populates the snapshot 'filters' from the service.

ITEM_COUNT

public static final SnapshotFields ITEM_COUNT

Populates the snapshot 'items_count' from the service.

NAME

public static final SnapshotFields NAME

Populates the snapshot 'name' from the service.

RETENTION_PERIOD

public static final SnapshotFields RETENTION_PERIOD

Populates the snapshot 'retention_period' from the service.

SIZE_IN_BYTES

public static final SnapshotFields SIZE_IN_BYTES

Populates the snapshot 'size' from the service.

SNAPSHOT_COMPOSITION

public static final SnapshotFields SNAPSHOT_COMPOSITION

Populates the snapshot 'composition_type' from the service.

STATUS

public static final SnapshotFields STATUS

Populates the snapshot 'status' from the service.

TAGS

public static final SnapshotFields TAGS

Populates the snapshot `tags` from the service.

Constructor Details

SnapshotFields

@Deprecated
public SnapshotFields()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SnapshotFields value.

Method Details

fromString

public static SnapshotFields fromString(String name)

Creates or finds a SnapshotFields from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SnapshotFields.

values

public static Collection values()

Gets known SnapshotFields values.

Returns:

known SnapshotFields values.

Applies to