Class GetCalendarEventsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetCalendarEventsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetCalendarEventsRequest>
- Enclosing class:
- GetCalendarEventsRequest
public static class GetCalendarEventsRequest.Builder extends java.lang.Object implements ObjectBuilder<GetCalendarEventsRequest>
Builder for
GetCalendarEventsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetCalendarEventsRequestbuild()Builds aGetCalendarEventsRequest.GetCalendarEventsRequest.BuildercalendarId(java.lang.String value)Required - The ID of the calendar containing the eventsGetCalendarEventsRequest.Builderend(java.lang.String value)Get events before this timeGetCalendarEventsRequest.Builderfrom(java.lang.Integer value)Skips a number of eventsGetCalendarEventsRequest.BuilderjobId(java.lang.String value)Get events for the job.GetCalendarEventsRequest.Buildersize(java.lang.Integer value)Specifies a max number of events to getGetCalendarEventsRequest.Builderstart(java.lang.String value)Get events after this timeMethods 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 containing the eventsAPI name:
calendar_id -
jobId
Get events for the job. When this option is used calendar_id must be '_all'API name:
job_id -
end
Get events before this timeAPI name:
end -
from
Skips a number of eventsAPI name:
from -
start
Get events after this timeAPI name:
start -
size
Specifies a max number of events to getAPI name:
size -
build
Builds aGetCalendarEventsRequest.- Specified by:
buildin interfaceObjectBuilder<GetCalendarEventsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-