Package com.datadog.api.client.v1.api
Class EventsApi.ListEventsOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.EventsApi.ListEventsOptionalParameters
- Enclosing class:
- EventsApi
Manage optional parameters to listEvents.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexcludeAggregate(Boolean excludeAggregate) Set excludeAggregate.Set page.priority(EventPriority priority) Set priority.Set sources.Set tags.unaggregated(Boolean unaggregated) Set unaggregated.
-
Constructor Details
-
ListEventsOptionalParameters
public ListEventsOptionalParameters()
-
-
Method Details
-
priority
Set priority.- Parameters:
priority- Priority of your events, eitherlowornormal. (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
Set unaggregated.- Parameters:
unaggregated- Set unaggregated totrueto 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 withis_aggregate=truein the response will still be returned unless exclude_aggregate is set totrue.(optional)- Returns:
- ListEventsOptionalParameters
-
excludeAggregate
Set excludeAggregate.- Parameters:
excludeAggregate- Setexclude_aggregatetotrueto only return unaggregated events whereis_aggregate=falsein the response. If theexclude_aggregateparameter is set totrue, then the unaggregated parameter is ignored and will betrueby 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 with0being the first page. The page parameter can only be used when either unaggregated or exclude_aggregate is set totrue.(optional)- Returns:
- ListEventsOptionalParameters
-