Class MaintenanceWindowTimeRange


  • public final class MaintenanceWindowTimeRange
    extends Object
    Maintenance window time range.
    • Constructor Detail

      • MaintenanceWindowTimeRange

        public MaintenanceWindowTimeRange()
    • Method Detail

      • dayOfWeek

        public DayOfWeek dayOfWeek()
        Get the dayOfWeek property: Day of maintenance window.
        Returns:
        the dayOfWeek value.
      • withDayOfWeek

        public MaintenanceWindowTimeRange withDayOfWeek​(DayOfWeek dayOfWeek)
        Set the dayOfWeek property: Day of maintenance window.
        Parameters:
        dayOfWeek - the dayOfWeek value to set.
        Returns:
        the MaintenanceWindowTimeRange object itself.
      • startTime

        public String startTime()
        Get the startTime property: Start time minutes offset from 12am.
        Returns:
        the startTime value.
      • withStartTime

        public MaintenanceWindowTimeRange withStartTime​(String startTime)
        Set the startTime property: Start time minutes offset from 12am.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the MaintenanceWindowTimeRange object itself.
      • duration

        public String duration()
        Get the duration property: Duration of maintenance window in minutes.
        Returns:
        the duration value.
      • withDuration

        public MaintenanceWindowTimeRange withDuration​(String duration)
        Set the duration property: Duration of maintenance window in minutes.
        Parameters:
        duration - the duration value to set.
        Returns:
        the MaintenanceWindowTimeRange object itself.
      • validate

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