Class RecurrentMaintenanceWindowSchedule.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.RecurrentMaintenanceWindowSchedule.Builder
-
- Enclosing class:
- RecurrentMaintenanceWindowSchedule
public static class RecurrentMaintenanceWindowSchedule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecurrentMaintenanceWindowSchedule
build()
RecurrentMaintenanceWindowSchedule.Builder
copy(RecurrentMaintenanceWindowSchedule model)
RecurrentMaintenanceWindowSchedule.Builder
maintenanceWindowDuration(String maintenanceWindowDuration)
Duration time of each recurrence of each Maintenance Window.RecurrentMaintenanceWindowSchedule.Builder
maintenanceWindowRecurrences(String maintenanceWindowRecurrences)
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.RecurrentMaintenanceWindowSchedule.Builder
timeMaintenanceWindowEnd(Date timeMaintenanceWindowEnd)
Start time of Maintenance window.RecurrentMaintenanceWindowSchedule.Builder
timeMaintenanceWindowStart(Date timeMaintenanceWindowStart)
Start time of Maintenance window.
-
-
-
Method Detail
-
timeMaintenanceWindowStart
public RecurrentMaintenanceWindowSchedule.Builder timeMaintenanceWindowStart(Date timeMaintenanceWindowStart)
Start time of Maintenance window.A RFC3339 formatted datetime string
- Parameters:
timeMaintenanceWindowStart
- the value to set- Returns:
- this builder
-
timeMaintenanceWindowEnd
public RecurrentMaintenanceWindowSchedule.Builder timeMaintenanceWindowEnd(Date timeMaintenanceWindowEnd)
Start time of Maintenance window.A RFC3339 formatted datetime string
- Parameters:
timeMaintenanceWindowEnd
- the value to set- Returns:
- this builder
-
maintenanceWindowRecurrences
public RecurrentMaintenanceWindowSchedule.Builder maintenanceWindowRecurrences(String maintenanceWindowRecurrences)
A RFC5545 formatted recurrence string which represents the Maintenance Window Recurrence.Please refer this for details:https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 FREQ: Frequency of the Maintenance Window. The supported values are: DAILY and WEEKLY. BYDAY: Comma separated days for Weekly Maintenance Window. BYHOUR: Specifies the start hour of each recurrence after timeMaintenanceWindowStart value. BYMINUTE: Specifies the start minute of each reccurrence after timeMaintenanceWindowStart value. The default value is 00 BYSECOND: Specifies the start second of each reccurrence after timeMaintenanceWindowStart value. The default value is 00 Other Rules are not supported.
- Parameters:
maintenanceWindowRecurrences
- the value to set- Returns:
- this builder
-
maintenanceWindowDuration
public RecurrentMaintenanceWindowSchedule.Builder maintenanceWindowDuration(String maintenanceWindowDuration)
Duration time of each recurrence of each Maintenance Window.It must be specified as a string in ISO 8601 extended format.
- Parameters:
maintenanceWindowDuration
- the value to set- Returns:
- this builder
-
build
public RecurrentMaintenanceWindowSchedule build()
-
copy
public RecurrentMaintenanceWindowSchedule.Builder copy(RecurrentMaintenanceWindowSchedule model)
-
-