LeaseStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. storage. models. LeaseStatus
- com.
- com.
public final class LeaseStatus
extends ExpandableStringEnum<LeaseStatus>
The lease status of the container.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Lease |
LOCKED
Static value Locked for Lease |
static final
Lease |
UNLOCKED
Static value Unlocked for Lease |
Constructor Summary
Constructor | Description |
---|---|
LeaseStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Lease |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Lease |
fromString(String name)
Creates or finds a Lease |
static
Collection<Lease |
values()
Gets known Lease |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LOCKED
public static final LeaseStatus LOCKED
Static value Locked for LeaseStatus.
UNLOCKED
public static final LeaseStatus UNLOCKED
Static value Unlocked for LeaseStatus.
Constructor Details
LeaseStatus
@Deprecated
public LeaseStatus()
Deprecated
Creates a new instance of LeaseStatus value.
Method Details
fromString
public static LeaseStatus fromString(String name)
Creates or finds a LeaseStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known LeaseStatus values.
Returns:
Applies to
Azure SDK for Java