Class DeleteCalendarEventRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteCalendarEventRequest.Builder>
co.elastic.clients.elasticsearch.ml.DeleteCalendarEventRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteCalendarEventRequest.Builder>,ObjectBuilder<DeleteCalendarEventRequest>
- Enclosing class:
- DeleteCalendarEventRequest
public static class DeleteCalendarEventRequest.Builder extends RequestBase.AbstractBuilder<DeleteCalendarEventRequest.Builder> implements ObjectBuilder<DeleteCalendarEventRequest>
Builder for
DeleteCalendarEventRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteCalendarEventRequestbuild()Builds aDeleteCalendarEventRequest.DeleteCalendarEventRequest.BuildercalendarId(java.lang.String value)Required - The ID of the calendar to modifyDeleteCalendarEventRequest.BuildereventId(java.lang.String value)Required - The ID of the event to remove from the calendarprotected DeleteCalendarEventRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
calendarId
Required - The ID of the calendar to modifyAPI name:
calendar_id -
eventId
Required - The ID of the event to remove from the calendarAPI name:
event_id -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteCalendarEventRequest.Builder>
-
build
Builds aDeleteCalendarEventRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteCalendarEventRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-