Class UpdateCccScheduleEvent.Builder
- java.lang.Object
-
- com.oracle.bmc.computecloudatcustomer.model.UpdateCccScheduleEvent.Builder
-
- Enclosing class:
- UpdateCccScheduleEvent
public static class UpdateCccScheduleEvent.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCccScheduleEventbuild()UpdateCccScheduleEvent.Buildercopy(UpdateCccScheduleEvent model)UpdateCccScheduleEvent.Builderdescription(String description)A description of the Compute Cloud@Customer upgrade schedule time block.UpdateCccScheduleEvent.BuilderscheduleEventDuration(String scheduleEventDuration)The duration of this block of time.UpdateCccScheduleEvent.BuilderscheduleEventRecurrences(String scheduleEventRecurrences)Frequency of recurrence of schedule block.UpdateCccScheduleEvent.BuildertimeStart(Date timeStart)The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive.
-
-
-
Method Detail
-
description
public UpdateCccScheduleEvent.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 UpdateCccScheduleEvent.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 UpdateCccScheduleEvent.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 UpdateCccScheduleEvent.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 UpdateCccScheduleEvent build()
-
copy
public UpdateCccScheduleEvent.Builder copy(UpdateCccScheduleEvent model)
-
-