Package com.datadog.api.client.v2.model
Class MetricsScalarQuery
java.lang.Object
com.datadog.api.client.v2.model.MetricsScalarQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricsScalarQuery
extends Object
A query against Datadog custom metrics or Cloud Cost data sources.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMetricsScalarQuery(MetricsAggregator aggregator, MetricsDataSource dataSource, String query) -
Method Summary
Modifier and TypeMethodDescriptionaddCrossOrgUuidsItem(String crossOrgUuidsItem) aggregator(MetricsAggregator aggregator) crossOrgUuids(List<String> crossOrgUuids) dataSource(MetricsDataSource dataSource) booleanReturn true if this MetricsScalarQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The type of aggregation that can be performed on metrics-based queries.Organization UUIDs to query when using cross-organization visibility.A data source that is powered by the Metrics platform.getName()The variable name for use in formulas.getQuery()A classic metrics query string.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregator(MetricsAggregator aggregator) voidsetCrossOrgUuids(List<String> crossOrgUuids) voidsetDataSource(MetricsDataSource dataSource) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATOR
- See Also:
-
JSON_PROPERTY_CROSS_ORG_UUIDS
- See Also:
-
JSON_PROPERTY_DATA_SOURCE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
MetricsScalarQuery
public MetricsScalarQuery() -
MetricsScalarQuery
-
-
Method Details
-
aggregator
-
getAggregator
The type of aggregation that can be performed on metrics-based queries.- Returns:
- aggregator
-
setAggregator
-
crossOrgUuids
-
addCrossOrgUuidsItem
-
getCrossOrgUuids
Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.- Returns:
- crossOrgUuids
-
setCrossOrgUuids
-
dataSource
-
getDataSource
A data source that is powered by the Metrics platform.- Returns:
- dataSource
-
setDataSource
-
name
-
getName
The variable name for use in formulas.- Returns:
- name
-
setName
-
query
-
getQuery
A classic metrics query string.- Returns:
- query
-
setQuery
-
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:
- MetricsScalarQuery
-
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 MetricsScalarQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-