Class CccScheduleEvent.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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