Class GetCalendarEventsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetCalendarEventsRequest
public class GetCalendarEventsRequest extends RequestBase
Retrieves information about the scheduled events in calendars.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetCalendarEventsRequest.BuilderBuilder forGetCalendarEventsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetCalendarEventsRequest,GetCalendarEventsResponse,ErrorResponse>_ENDPOINTEndpoint "ml.get_calendar_events". -
Method Summary
Modifier and Type Method Description java.lang.StringcalendarId()Required - A string that uniquely identifies a calendar.java.lang.Stringend()Specifies to get events with timestamps earlier than this time.java.lang.Integerfrom()Skips the specified number of events.java.lang.StringjobId()Specifies to get events for a specific anomaly detection job identifier or job group.static GetCalendarEventsRequestof(java.util.function.Function<GetCalendarEventsRequest.Builder,ObjectBuilder<GetCalendarEventsRequest>> fn)java.lang.Integersize()Specifies the maximum number of events to obtain.java.lang.Stringstart()Specifies to get events with timestamps after this time.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<GetCalendarEventsRequest,GetCalendarEventsResponse,ErrorResponse> _ENDPOINTEndpoint "ml.get_calendar_events".
-
-
Method Details
-
of
public static GetCalendarEventsRequest of(java.util.function.Function<GetCalendarEventsRequest.Builder,ObjectBuilder<GetCalendarEventsRequest>> fn) -
calendarId
public final java.lang.String calendarId()Required - A string that uniquely identifies a calendar. You can get information for multiple calendars by using a comma-separated list of ids or a wildcard expression. You can get information for all calendars by using_allor*or by omitting the calendar identifier.API name:
calendar_id -
end
@Nullable public final java.lang.String end()Specifies to get events with timestamps earlier than this time.API name:
end -
from
@Nullable public final java.lang.Integer from()Skips the specified number of events.API name:
from -
jobId
@Nullable public final java.lang.String jobId()Specifies to get events for a specific anomaly detection job identifier or job group. It must be used with a calendar identifier of_allor*.API name:
job_id -
size
@Nullable public final java.lang.Integer size()Specifies the maximum number of events to obtain.API name:
size -
start
@Nullable public final java.lang.String start()Specifies to get events with timestamps after this time.API name:
start
-