Class MaintenanceWindowSchedule.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.MaintenanceWindowSchedule.Builder
-
- Enclosing class:
- MaintenanceWindowSchedule
public static class MaintenanceWindowSchedule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceWindowSchedulebuild()MaintenanceWindowSchedule.Buildercopy(MaintenanceWindowSchedule model)MaintenanceWindowSchedule.BuilderrecurrenceType(MaintenanceWindowRecurrenceType recurrenceType)Type of recurrence for a recurring maintenance window.MaintenanceWindowSchedule.BuilderscheduleType(MaintenanceWindowScheduleType scheduleType)Type of maintenance window schedule.MaintenanceWindowSchedule.BuildertimeEnded(Date timeEnded)End time of the maintenance window, expressed in RFC 3339 timestamp format.MaintenanceWindowSchedule.BuildertimeStarted(Date timeStarted)Start time of the maintenance window, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
scheduleType
public MaintenanceWindowSchedule.Builder scheduleType(MaintenanceWindowScheduleType scheduleType)
Type of maintenance window schedule.If not provided, a schedule with timeStarted and timeEnded is treated as ONE_TIME.
- Parameters:
scheduleType- the value to set- Returns:
- this builder
-
timeStarted
public MaintenanceWindowSchedule.Builder timeStarted(Date timeStarted)
Start time of the maintenance window, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public MaintenanceWindowSchedule.Builder timeEnded(Date timeEnded)
End time of the maintenance window, expressed in RFC 3339 timestamp format.Example: 2020-02-12T22:47:12.613Z
- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
recurrenceType
public MaintenanceWindowSchedule.Builder recurrenceType(MaintenanceWindowRecurrenceType recurrenceType)
Type of recurrence for a recurring maintenance window.- Parameters:
recurrenceType- the value to set- Returns:
- this builder
-
build
public MaintenanceWindowSchedule build()
-
copy
public MaintenanceWindowSchedule.Builder copy(MaintenanceWindowSchedule model)
-
-