Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Schedule |
build() |
Schedule.Builder |
copy(Schedule model) |
Schedule.Builder |
duration(String duration)
Duration if schedule type is Custom
|
Schedule.Builder |
executionStartdate(Date executionStartdate)
Start Date for the schedule.
|
Schedule.Builder |
maintenanceWindowId(String maintenanceWindowId)
Provide MaintenanceWindowId if Schedule Type is Maintenance Window
|
Schedule.Builder |
recurrences(String recurrences)
Recurrence rule specification if Schedule Type is Custom and Recurring
|
Schedule.Builder |
type(Schedule.Type type)
Schedule Type
|
public Schedule.Builder type(Schedule.Type type)
Schedule Type
type
- the value to setpublic Schedule.Builder executionStartdate(Date executionStartdate)
Start Date for the schedule. An RFC3339 formatted datetime string
executionStartdate
- the value to setpublic Schedule.Builder maintenanceWindowId(String maintenanceWindowId)
Provide MaintenanceWindowId if Schedule Type is Maintenance Window
maintenanceWindowId
- the value to setpublic Schedule.Builder recurrences(String recurrences)
Recurrence rule specification if Schedule Type is Custom and Recurring
recurrences
- the value to setpublic Schedule.Builder duration(String duration)
Duration if schedule type is Custom
duration
- the value to setpublic Schedule build()
public Schedule.Builder copy(Schedule model)
Copyright © 2016–2024. All rights reserved.