LeaseState Enum
- java.
lang. Object - java.
lang. Enum<LeaseState> - com.
microsoft. azure. storage. blob. LeaseState
- com.
- java.
public enum LeaseState
The lease state of a resource.
Fields
AVAILABLE |
The lease is in the Available state. |
BREAKING |
The lease is in the Breaking state. |
EXPIRED |
The lease is in the Expired state. |
LEASED |
The lease is in the Leased state. |
UNSPECIFIED |
The lease state is not specified. |
Inherited Members
com.microsoft.azure.storage.blob._lease_state_1aaef51124f773aae8a50e7877a8d09f82
Methods
parse(final String typeString)
protected static LeaseState parse(final String typeString)
Parses a lease state from the given string.
Parameters
- typeString
- final String
String
which contains the lease state to parse.
Returns
A
LeaseStatus
value that represents the lease status.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java