DeletionRecoveryLevel Class

public final class DeletionRecoveryLevel
extends ExpandableStringEnum<DeletionRecoveryLevel>

The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.

Field Summary

Modifier and Type Field and Description
static final DeletionRecoveryLevel PURGEABLE

Static value Purgeable for DeletionRecoveryLevel.

static final DeletionRecoveryLevel RECOVERABLE

Static value Recoverable for DeletionRecoveryLevel.

static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION

Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.

static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE

Static value Recoverable+Purgeable for DeletionRecoveryLevel.

Constructor Summary

Constructor Description
DeletionRecoveryLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeletionRecoveryLevel value.

Method Summary

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

Creates or finds a DeletionRecoveryLevel from its string representation.

static Collection<DeletionRecoveryLevel> values()

Gets known DeletionRecoveryLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PURGEABLE

public static final DeletionRecoveryLevel PURGEABLE

Static value Purgeable for DeletionRecoveryLevel.

RECOVERABLE

public static final DeletionRecoveryLevel RECOVERABLE

Static value Recoverable for DeletionRecoveryLevel.

RECOVERABLE_PROTECTED_SUBSCRIPTION

public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION

Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.

RECOVERABLE_PURGEABLE

public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE

Static value Recoverable+Purgeable for DeletionRecoveryLevel.

Constructor Details

DeletionRecoveryLevel

@Deprecated
public DeletionRecoveryLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeletionRecoveryLevel value.

Method Details

fromString

public static DeletionRecoveryLevel fromString(String name)

Creates or finds a DeletionRecoveryLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DeletionRecoveryLevel.

values

public static Collection values()

Gets known DeletionRecoveryLevel values.

Returns:

known DeletionRecoveryLevel values.

Applies to