Builder

public final class Builder

Builder for CreateEventRequest.

Functions

Link copied to clipboard
public final CreateEventRequest build()

Builds the CreateEventRequest object.

Link copied to clipboard

Set the event busy status. This value determines whether to show this event's time block as available on shared or public calendars.

Link copied to clipboard
public final CreateEventRequest.Builder calendarId(String calendarId)

Set the calendar ID of the event.

Link copied to clipboard

Set the maximum number of participants that may attend the event.

Link copied to clipboard

Set the event conferencing details. Representation of conferencing details for events. Conferencing object can be in one of two formats (sub-objects):

Link copied to clipboard
public final CreateEventRequest.Builder description(String description)

Set the event description.

Link copied to clipboard
public final CreateEventRequest.Builder hideParticipant(Boolean hideParticipant)

Set whether to hide the participant of the event.

Link copied to clipboard
public final CreateEventRequest.Builder location(String location)

Set the event location.

Link copied to clipboard

Set the metadata, which is a key-value pair storing additional data.

Link copied to clipboard

Set the event participants.

Link copied to clipboard

Set whether the event participants are able to edit the event.

Link copied to clipboard
public final CreateEventRequest.Builder recurrence(List<String> recurrence)

Set a list of RRULE and EXDATE strings. Please note that EXRULE, RDATE, and TZID are not supported.

Link copied to clipboard

Set the event reminders. A list of reminders to send for the event. If left empty or omitted, the event uses the provider defaults.

Link copied to clipboard

Set the event title.

Link copied to clipboard

Set the event visibility. The calendar default will be used if this field is omitted.