ImmutabilityPolicyState Class

public final class ImmutabilityPolicyState
extends ExpandableStringEnum<ImmutabilityPolicyState>

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

Field Summary

Modifier and Type Field and Description
static final ImmutabilityPolicyState LOCKED

Static value Locked for ImmutabilityPolicyState.

static final ImmutabilityPolicyState UNLOCKED

Static value Unlocked for ImmutabilityPolicyState.

Constructor Summary

Constructor Description
ImmutabilityPolicyState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImmutabilityPolicyState value.

Method Summary

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

Creates or finds a ImmutabilityPolicyState from its string representation.

static Collection<ImmutabilityPolicyState> values()

Gets known ImmutabilityPolicyState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LOCKED

public static final ImmutabilityPolicyState LOCKED

Static value Locked for ImmutabilityPolicyState.

UNLOCKED

public static final ImmutabilityPolicyState UNLOCKED

Static value Unlocked for ImmutabilityPolicyState.

Constructor Details

ImmutabilityPolicyState

@Deprecated
public ImmutabilityPolicyState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImmutabilityPolicyState value.

Method Details

fromString

public static ImmutabilityPolicyState fromString(String name)

Creates or finds a ImmutabilityPolicyState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ImmutabilityPolicyState.

values

public static Collection values()

Gets known ImmutabilityPolicyState values.

Returns:

known ImmutabilityPolicyState values.

Applies to