java.lang.Object
com.azure.resourcemanager.storagemover.models.Minute
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<Integer>

public final class Minute extends Object implements com.azure.core.util.ExpandableEnum<Integer>
The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.
  • Field Details

    • ZERO

      public static final Minute ZERO
      Static value 0 for Minute.
    • THREE_ZERO

      public static final Minute THREE_ZERO
      Static value 30 for Minute.
  • Method Details

    • fromValue

      public static Minute fromValue(Integer value)
      Creates or finds a Minute.
      Parameters:
      value - a value to look for.
      Returns:
      the corresponding Minute.
    • values

      public static Collection<Minute> values()
      Gets known Minute values.
      Returns:
      Known Minute values.
    • getValue

      public Integer getValue()
      Gets the value of the Minute instance.
      Specified by:
      getValue in interface com.azure.core.util.ExpandableEnum<Integer>
      Returns:
      the value of the Minute instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object