Class CreateCccScheduleEvent.Builder
- java.lang.Object
-
- com.oracle.bmc.computecloudatcustomer.model.CreateCccScheduleEvent.Builder
-
- Enclosing class:
- CreateCccScheduleEvent
public static class CreateCccScheduleEvent.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCccScheduleEvent
build()
CreateCccScheduleEvent.Builder
copy(CreateCccScheduleEvent model)
CreateCccScheduleEvent.Builder
description(String description)
A description of the Compute Cloud@Customer upgrade schedule time block.CreateCccScheduleEvent.Builder
scheduleEventDuration(String scheduleEventDuration)
The duration of this block of time.CreateCccScheduleEvent.Builder
scheduleEventRecurrences(String scheduleEventRecurrences)
Frequency of recurrence of schedule block.CreateCccScheduleEvent.Builder
timeStart(Date timeStart)
The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive.
-
-
-
Method Detail
-
description
public CreateCccScheduleEvent.Builder description(String description)
A description of the Compute Cloud@Customer upgrade schedule time block.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeStart
public CreateCccScheduleEvent.Builder timeStart(Date timeStart)
The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive.An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.
- Parameters:
timeStart
- the value to set- Returns:
- this builder
-
scheduleEventDuration
public CreateCccScheduleEvent.Builder scheduleEventDuration(String scheduleEventDuration)
The duration of this block of time.The duration must be specified and be of the ISO-8601 format for durations.
- Parameters:
scheduleEventDuration
- the value to set- Returns:
- this builder
-
scheduleEventRecurrences
public CreateCccScheduleEvent.Builder scheduleEventRecurrences(String scheduleEventRecurrences)
Frequency of recurrence of schedule block.When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.
- Parameters:
scheduleEventRecurrences
- the value to set- Returns:
- this builder
-
build
public CreateCccScheduleEvent build()
-
copy
public CreateCccScheduleEvent.Builder copy(CreateCccScheduleEvent model)
-
-