Package com.datadog.api.client.v2.model
Class ContainerScalarQuery
java.lang.Object
com.datadog.api.client.v2.model.ContainerScalarQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ContainerScalarQuery
extends Object
A query for container-level metrics such as CPU and memory usage.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContainerScalarQuery(ContainerDataSource dataSource, String metric, String name) -
Method Summary
Modifier and TypeMethodDescriptionaddCrossOrgUuidsItem(String crossOrgUuidsItem) addTagFiltersItem(String tagFiltersItem) aggregator(MetricsAggregator aggregator) crossOrgUuids(List<String> crossOrgUuids) dataSource(ContainerDataSource dataSource) booleanReturn true if this ContainerScalarQuery 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 for container-level infrastructure metrics.Whether CPU metrics should be normalized by core count.getLimit()Maximum number of results to return.The container metric to query.getName()The variable name for use in formulas.getSort()Direction of sort.Tag filters to narrow down containers.A full-text search filter to match container names.inthashCode()isNormalizedCpu(Boolean isNormalizedCpu) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregator(MetricsAggregator aggregator) voidsetCrossOrgUuids(List<String> crossOrgUuids) voidsetDataSource(ContainerDataSource dataSource) voidsetIsNormalizedCpu(Boolean isNormalizedCpu) voidvoidvoidvoidsetSort(QuerySortOrder sort) voidsetTagFilters(List<String> tagFilters) voidsetTextFilter(String textFilter) sort(QuerySortOrder sort) tagFilters(List<String> tagFilters) textFilter(String textFilter) toString()
-
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_IS_NORMALIZED_CPU
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_TAG_FILTERS
- See Also:
-
JSON_PROPERTY_TEXT_FILTER
- See Also:
-
-
Constructor Details
-
ContainerScalarQuery
public ContainerScalarQuery() -
ContainerScalarQuery
-
-
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 for container-level infrastructure metrics.- Returns:
- dataSource
-
setDataSource
-
isNormalizedCpu
-
getIsNormalizedCpu
Whether CPU metrics should be normalized by core count.- Returns:
- isNormalizedCpu
-
setIsNormalizedCpu
-
limit
-
getLimit
Maximum number of results to return.- Returns:
- limit
-
setLimit
-
metric
-
getMetric
The container metric to query.- Returns:
- metric
-
setMetric
-
name
-
getName
The variable name for use in formulas.- Returns:
- name
-
setName
-
sort
-
getSort
Direction of sort.- Returns:
- sort
-
setSort
-
tagFilters
-
addTagFiltersItem
-
getTagFilters
Tag filters to narrow down containers.- Returns:
- tagFilters
-
setTagFilters
-
textFilter
-
getTextFilter
A full-text search filter to match container names.- Returns:
- textFilter
-
setTextFilter
-
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:
- ContainerScalarQuery
-
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 ContainerScalarQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-