ImmutabilityPolicyState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. storage. models. ImmutabilityPolicyState
- com.
- com.
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
Immutability |
LOCKED
Static value Locked for Immutability |
static final
Immutability |
UNLOCKED
Static value Unlocked for Immutability |
Constructor Summary
Constructor | Description |
---|---|
ImmutabilityPolicyState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Immutability |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Immutability |
fromString(String name)
Creates or finds a Immutability |
static
Collection<Immutability |
values()
Gets known Immutability |
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
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:
Returns:
values
public static Collection
Gets known ImmutabilityPolicyState values.
Returns:
Applies to
Azure SDK for Java