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
  • Field Details

  • 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 _all or * 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 _all or *.

      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