SetLegalHoldImmutability Class

public final class SetLegalHoldImmutability
extends ExpandableStringEnum<SetLegalHoldImmutability>

The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed.

Field Summary

Modifier and Type Field and Description
static final SetLegalHoldImmutability DISABLED

Disabled.

static final SetLegalHoldImmutability ENABLED

Enabled.

Constructor Summary

Constructor Description
SetLegalHoldImmutability()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SetLegalHoldImmutability value.

Method Summary

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

Creates or finds a SetLegalHoldImmutability from its string representation.

static Collection<SetLegalHoldImmutability> values()

Gets known SetLegalHoldImmutability values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final SetLegalHoldImmutability DISABLED

Disabled.

ENABLED

public static final SetLegalHoldImmutability ENABLED

Enabled.

Constructor Details

SetLegalHoldImmutability

@Deprecated
public SetLegalHoldImmutability()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SetLegalHoldImmutability value.

Method Details

fromString

public static SetLegalHoldImmutability fromString(String name)

Creates or finds a SetLegalHoldImmutability from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SetLegalHoldImmutability.

values

public static Collection<SetLegalHoldImmutability> values()

Gets known SetLegalHoldImmutability values.

Returns:

known SetLegalHoldImmutability values.

Applies to