Class LeaseDuration

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<LeaseDuration>
com.microsoft.azure.management.storage.LeaseDuration

public final class LeaseDuration extends com.microsoft.rest.ExpandableStringEnum<LeaseDuration>
Defines values for LeaseDuration.
  • Field Details

    • INFINITE

      public static final LeaseDuration INFINITE
      Static value Infinite for LeaseDuration.
    • FIXED

      public static final LeaseDuration FIXED
      Static value Fixed for LeaseDuration.
  • Constructor Details

    • LeaseDuration

      public LeaseDuration()
  • Method Details

    • fromString

      public static LeaseDuration fromString(String name)
      Creates or finds a LeaseDuration from its string representation.
      Parameters:
      name - a name to look for
      Returns:
      the corresponding LeaseDuration
    • values

      public static Collection<LeaseDuration> values()
      Returns:
      known LeaseDuration values