Class EventsApi.ListEventsOptionalParameters

java.lang.Object
com.datadog.api.client.v1.api.EventsApi.ListEventsOptionalParameters
Enclosing class:
EventsApi

public static class EventsApi.ListEventsOptionalParameters extends Object
Manage optional parameters to listEvents.
  • Constructor Details

    • ListEventsOptionalParameters

      public ListEventsOptionalParameters()
  • Method Details

    • priority

      Set priority.
      Parameters:
      priority - Priority of your events, either low or normal. (optional)
      Returns:
      ListEventsOptionalParameters
    • sources

      Set sources.
      Parameters:
      sources - A comma separated string of sources. (optional)
      Returns:
      ListEventsOptionalParameters
    • tags

      Set tags.
      Parameters:
      tags - A comma separated list indicating what tags, if any, should be used to filter the list of events. (optional)
      Returns:
      ListEventsOptionalParameters
    • unaggregated

      public EventsApi.ListEventsOptionalParameters unaggregated(Boolean unaggregated)
      Set unaggregated.
      Parameters:
      unaggregated - Set unaggregated to true to return all events within the specified [start,end] timeframe. Otherwise if an event is aggregated to a parent event with a timestamp outside of the timeframe, it won't be available in the output. Aggregated events with is_aggregate=true in the response will still be returned unless exclude_aggregate is set to true. (optional)
      Returns:
      ListEventsOptionalParameters
    • excludeAggregate

      public EventsApi.ListEventsOptionalParameters excludeAggregate(Boolean excludeAggregate)
      Set excludeAggregate.
      Parameters:
      excludeAggregate - Set exclude_aggregate to true to only return unaggregated events where is_aggregate=false in the response. If the exclude_aggregate parameter is set to true, then the unaggregated parameter is ignored and will be true by default. (optional)
      Returns:
      ListEventsOptionalParameters
    • page

      Set page.
      Parameters:
      page - By default 1000 results are returned per request. Set page to the number of the page to return with 0 being the first page. The page parameter can only be used when either unaggregated or exclude_aggregate is set to true. (optional)
      Returns:
      ListEventsOptionalParameters