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 method to remind the user about the event. (Google only).

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

Set the number of minutes before the event start time when a user wants a reminder for this event. Reminder minutes need to be entered in the following format: "20".

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.