Package com.datadog.api.client.v2.model
Class GovernanceInsightMetricQuery
java.lang.Object
com.datadog.api.client.v2.model.GovernanceInsightMetricQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceInsightMetricQuery
extends Object
A metric query used to compute an insight value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this GovernanceInsightMetricQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getQuery()The query string.How the query result series is reduced to a single value.The data source the query runs against.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetReducer(String reducer) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_REDUCER
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
-
Constructor Details
-
GovernanceInsightMetricQuery
public GovernanceInsightMetricQuery() -
GovernanceInsightMetricQuery
-
-
Method Details
-
query
-
getQuery
The query string.- Returns:
- query
-
setQuery
-
reducer
-
getReducer
How the query result series is reduced to a single value.- Returns:
- reducer
-
setReducer
-
source
-
getSource
The data source the query runs against.- Returns:
- source
-
setSource
-
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:
- GovernanceInsightMetricQuery
-
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 GovernanceInsightMetricQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-