java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.Day

public final class Day extends Object
Day of the week.
  • Constructor Details

    • Day

      public Day()
      Creates an instance of Day class.
  • Method Details

    • date

      public Integer date()
      Get the date property: Date of the month.
      Returns:
      the date value.
    • withDate

      public Day withDate(Integer date)
      Set the date property: Date of the month.
      Parameters:
      date - the date value to set.
      Returns:
      the Day object itself.
    • isLast

      public Boolean isLast()
      Get the isLast property: Whether Date is last date of month.
      Returns:
      the isLast value.
    • withIsLast

      public Day withIsLast(Boolean isLast)
      Set the isLast property: Whether Date is last date of month.
      Parameters:
      isLast - the isLast value to set.
      Returns:
      the Day object itself.
    • validate

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