Class Time
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.Time
-
public final class Time extends Object
The time for a scaling action to occur.
-
-
Constructor Summary
Constructors Constructor Description Time()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthour()Get the hour property: The hour.intminute()Get the minute property: The minute.voidvalidate()Validates the instance.TimewithHour(int hour)Set the hour property: The hour.TimewithMinute(int minute)Set the minute property: The minute.
-
-
-
Method Detail
-
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.
-
-