Class Schedule.Builder

  • Enclosing class:
    Schedule

    public static class Schedule.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • executionStartdate

        public Schedule.Builder executionStartdate​(Date executionStartdate)
        Start Date for the schedule.

        An RFC3339 formatted datetime string

        Parameters:
        executionStartdate - the value to set
        Returns:
        this builder
      • maintenanceWindowId

        public Schedule.Builder maintenanceWindowId​(String maintenanceWindowId)
        Provide MaintenanceWindowId if Schedule Type is Maintenance Window
        Parameters:
        maintenanceWindowId - the value to set
        Returns:
        this builder
      • recurrences

        public Schedule.Builder recurrences​(String recurrences)
        Recurrence rule specification if Schedule Type is Custom and Recurring
        Parameters:
        recurrences - the value to set
        Returns:
        this builder
      • duration

        public Schedule.Builder duration​(String duration)
        Duration if schedule type is Custom
        Parameters:
        duration - the value to set
        Returns:
        this builder