Package com.datadog.api.client.v1.model
Class LogQueryDefinition
java.lang.Object
com.datadog.api.client.v1.model.LogQueryDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogQueryDefinition
extends Object
The log query.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(LogQueryDefinitionGroupBy groupByItem) addMultiComputeItem(LogsQueryCompute multiComputeItem) compute(LogsQueryCompute compute) booleanReturn true if this LogQueryDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Define computation for a log query.List of tag prefixes to group by in the case of a cluster check.getIndex()A coma separated-list of index names.This field is mutually exclusive withcompute.The query being made on the logs.groupBy(List<LogQueryDefinitionGroupBy> groupBy) inthashCode()multiCompute(List<LogsQueryCompute> multiCompute) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.search(LogQueryDefinitionSearch search) voidsetCompute(LogsQueryCompute compute) voidsetGroupBy(List<LogQueryDefinitionGroupBy> groupBy) voidvoidsetMultiCompute(List<LogsQueryCompute> multiCompute) voidsetSearch(LogQueryDefinitionSearch search) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPUTE
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_MULTI_COMPUTE
- See Also:
-
JSON_PROPERTY_SEARCH
- See Also:
-
-
Constructor Details
-
LogQueryDefinition
public LogQueryDefinition()
-
-
Method Details
-
compute
-
getCompute
Define computation for a log query.- Returns:
- compute
-
setCompute
-
groupBy
-
addGroupByItem
-
getGroupBy
List of tag prefixes to group by in the case of a cluster check.- Returns:
- groupBy
-
setGroupBy
-
index
-
getIndex
A coma separated-list of index names. Use "*" query all indexes at once. Multiple Indexes- Returns:
- index
-
setIndex
-
multiCompute
-
addMultiComputeItem
-
getMultiCompute
This field is mutually exclusive withcompute.- Returns:
- multiCompute
-
setMultiCompute
-
search
-
getSearch
The query being made on the logs.- Returns:
- search
-
setSearch
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LogQueryDefinition
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LogQueryDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-