@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HistoricalJobQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_DATA_SOURCE |
static String |
JSON_PROPERTY_DISTINCT_FIELDS |
static String |
JSON_PROPERTY_GROUP_BY_FIELDS |
static String |
JSON_PROPERTY_HAS_OPTIONAL_GROUP_BY_FIELDS |
static String |
JSON_PROPERTY_METRICS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
boolean |
unparsed |
| Constructor and Description |
|---|
HistoricalJobQuery() |
| Modifier and Type | Method and Description |
|---|---|
HistoricalJobQuery |
addDistinctFieldsItem(String distinctFieldsItem) |
HistoricalJobQuery |
addGroupByFieldsItem(String groupByFieldsItem) |
HistoricalJobQuery |
addMetricsItem(String metricsItem) |
HistoricalJobQuery |
aggregation(SecurityMonitoringRuleQueryAggregation aggregation) |
HistoricalJobQuery |
dataSource(SecurityMonitoringStandardDataSource dataSource) |
HistoricalJobQuery |
distinctFields(List<String> distinctFields) |
boolean |
equals(Object o)
Return true if this HistoricalJobQuery object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SecurityMonitoringRuleQueryAggregation |
getAggregation()
The aggregation type.
|
SecurityMonitoringStandardDataSource |
getDataSource()
Source of events, either logs, audit trail, or Datadog events.
|
List<String> |
getDistinctFields()
Field for which the cardinality is measured.
|
List<String> |
getGroupByFields()
Fields to group by.
|
Boolean |
getHasOptionalGroupByFields()
When false, events without a group-by value are ignored by the query.
|
List<String> |
getMetrics()
Group of target fields to aggregate over when using the sum, max, geo data, or new value
aggregations.
|
String |
getName()
Name of the query.
|
String |
getQuery()
Query to run on logs.
|
HistoricalJobQuery |
groupByFields(List<String> groupByFields) |
int |
hashCode() |
HistoricalJobQuery |
metrics(List<String> metrics) |
HistoricalJobQuery |
name(String name) |
HistoricalJobQuery |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
HistoricalJobQuery |
query(String query) |
void |
setAggregation(SecurityMonitoringRuleQueryAggregation aggregation) |
void |
setDataSource(SecurityMonitoringStandardDataSource dataSource) |
void |
setDistinctFields(List<String> distinctFields) |
void |
setGroupByFields(List<String> groupByFields) |
void |
setMetrics(List<String> metrics) |
void |
setName(String name) |
void |
setQuery(String query) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_DATA_SOURCE
public static final String JSON_PROPERTY_DISTINCT_FIELDS
public static final String JSON_PROPERTY_GROUP_BY_FIELDS
public static final String JSON_PROPERTY_HAS_OPTIONAL_GROUP_BY_FIELDS
public static final String JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public HistoricalJobQuery aggregation(SecurityMonitoringRuleQueryAggregation aggregation)
@Nullable public SecurityMonitoringRuleQueryAggregation getAggregation()
public void setAggregation(SecurityMonitoringRuleQueryAggregation aggregation)
public HistoricalJobQuery dataSource(SecurityMonitoringStandardDataSource dataSource)
@Nullable public SecurityMonitoringStandardDataSource getDataSource()
public void setDataSource(SecurityMonitoringStandardDataSource dataSource)
public HistoricalJobQuery distinctFields(List<String> distinctFields)
public HistoricalJobQuery addDistinctFieldsItem(String distinctFieldsItem)
@Nullable public List<String> getDistinctFields()
public HistoricalJobQuery groupByFields(List<String> groupByFields)
public HistoricalJobQuery addGroupByFieldsItem(String groupByFieldsItem)
@Nullable public List<String> getGroupByFields()
@Nullable public Boolean getHasOptionalGroupByFields()
N/A, replacing the missing values.public HistoricalJobQuery metrics(List<String> metrics)
public HistoricalJobQuery addMetricsItem(String metricsItem)
@Nullable public List<String> getMetrics()
public HistoricalJobQuery name(String name)
@Nullable public String getName()
public void setName(String name)
public HistoricalJobQuery query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public HistoricalJobQuery putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.