LeaseDurationType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.storage.blob.models.LeaseDurationType

public enum LeaseDurationType
extends Enum<LeaseDurationType>

Defines values for LeaseDurationType.

Fields

FIXED

Enum value fixed.

INFINITE

Enum value infinite.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static LeaseDurationType fromString(String value)

Parses a serialized value to a LeaseDurationType instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed LeaseDurationType object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static LeaseDurationType valueOf(String name)

Parameters

name
String

Returns

values()

public static LeaseDurationType[] values()

Returns

Applies to