LeaseState Enum

  • java.lang.Object
    • java.lang.Enum<LeaseState>
      • com.microsoft.azure.storage.blob.LeaseState

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
A String which contains the lease state to parse.

Returns

A LeaseStatus value that represents the lease status.

Applies to