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