Class LeaseDuration
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<LeaseDuration>
com.microsoft.azure.management.storage.LeaseDuration
Defines values for LeaseDuration.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LeaseDuration
Static value Fixed for LeaseDuration.static final LeaseDuration
Static value Infinite for LeaseDuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LeaseDuration
fromString
(String name) Creates or finds a LeaseDuration from its string representation.static Collection<LeaseDuration>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
INFINITE
Static value Infinite for LeaseDuration. -
FIXED
Static value Fixed for LeaseDuration.
-
-
Constructor Details
-
LeaseDuration
public LeaseDuration()
-
-
Method Details
-
fromString
Creates or finds a LeaseDuration from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding LeaseDuration
-
values
- Returns:
- known LeaseDuration values
-