java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.Time

public final class Time extends Object
The time for a scaling action to occur.
  • Constructor Details

    • Time

      public Time()
  • Method Details

    • hour

      public int hour()
      Get the hour property: The hour.
      Returns:
      the hour value.
    • withHour

      public Time withHour(int hour)
      Set the hour property: The hour.
      Parameters:
      hour - the hour value to set.
      Returns:
      the Time object itself.
    • minute

      public int minute()
      Get the minute property: The minute.
      Returns:
      the minute value.
    • withMinute

      public Time withMinute(int minute)
      Set the minute property: The minute.
      Parameters:
      minute - the minute value to set.
      Returns:
      the Time object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.