Partager via


RehydratePriority Class

public final class RehydratePriority
extends ExpandableStringEnum<RehydratePriority>

If an object is in rehydrate pending state then this header is returned with priority of rehydrate. Valid values are High and Standard.

Field Summary

Modifier and Type Field and Description
static final RehydratePriority HIGH

Static value High for RehydratePriority.

static final RehydratePriority STANDARD

Static value Standard for RehydratePriority.

Constructor Summary

Constructor Description
RehydratePriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RehydratePriority value.

Method Summary

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

Creates or finds a RehydratePriority from its string representation.

static Collection<RehydratePriority> values()

Gets known RehydratePriority values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HIGH

public static final RehydratePriority HIGH

Static value High for RehydratePriority.

STANDARD

public static final RehydratePriority STANDARD

Static value Standard for RehydratePriority.

Constructor Details

RehydratePriority

@Deprecated
public RehydratePriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RehydratePriority value.

Method Details

fromString

public static RehydratePriority fromString(String name)

Creates or finds a RehydratePriority from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RehydratePriority.

values

public static Collection values()

Gets known RehydratePriority values.

Returns:

known RehydratePriority values.

Applies to