@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ApmResourceStatsQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CROSS_ORG_UUIDS |
static String |
JSON_PROPERTY_DATA_SOURCE |
static String |
JSON_PROPERTY_ENV |
static String |
JSON_PROPERTY_GROUP_BY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OPERATION_NAME |
static String |
JSON_PROPERTY_PRIMARY_TAG_NAME |
static String |
JSON_PROPERTY_PRIMARY_TAG_VALUE |
static String |
JSON_PROPERTY_RESOURCE_NAME |
static String |
JSON_PROPERTY_SERVICE |
static String |
JSON_PROPERTY_STAT |
boolean |
unparsed |
| Constructor and Description |
|---|
ApmResourceStatsQuery() |
ApmResourceStatsQuery(ApmResourceStatsDataSource dataSource,
String env,
String name,
String service,
ApmResourceStatName stat) |
| Modifier and Type | Method and Description |
|---|---|
ApmResourceStatsQuery |
addCrossOrgUuidsItem(String crossOrgUuidsItem) |
ApmResourceStatsQuery |
addGroupByItem(String groupByItem) |
ApmResourceStatsQuery |
crossOrgUuids(List<String> crossOrgUuids) |
ApmResourceStatsQuery |
dataSource(ApmResourceStatsDataSource dataSource) |
ApmResourceStatsQuery |
env(String env) |
boolean |
equals(Object o)
Return true if this ApmResourceStatsQuery 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.
|
List<String> |
getCrossOrgUuids()
Organization UUIDs to query when using cross-organization
visibility.
|
ApmResourceStatsDataSource |
getDataSource()
A data source for APM resource statistics queries.
|
String |
getEnv()
The environment to query.
|
List<String> |
getGroupBy()
Tag keys to group results by.
|
String |
getName()
The variable name for use in formulas.
|
String |
getOperationName()
The APM operation name.
|
String |
getPrimaryTagName()
Name of the second primary tag used within APM.
|
String |
getPrimaryTagValue()
Value of the second primary tag by which to filter APM data.
|
String |
getResourceName()
The resource name to filter by.
|
String |
getService()
The service name to filter by.
|
ApmResourceStatName |
getStat()
The APM resource statistic to query.
|
ApmResourceStatsQuery |
groupBy(List<String> groupBy) |
int |
hashCode() |
ApmResourceStatsQuery |
name(String name) |
ApmResourceStatsQuery |
operationName(String operationName) |
ApmResourceStatsQuery |
primaryTagName(String primaryTagName) |
ApmResourceStatsQuery |
primaryTagValue(String primaryTagValue) |
ApmResourceStatsQuery |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ApmResourceStatsQuery |
resourceName(String resourceName) |
ApmResourceStatsQuery |
service(String service) |
void |
setCrossOrgUuids(List<String> crossOrgUuids) |
void |
setDataSource(ApmResourceStatsDataSource dataSource) |
void |
setEnv(String env) |
void |
setGroupBy(List<String> groupBy) |
void |
setName(String name) |
void |
setOperationName(String operationName) |
void |
setPrimaryTagName(String primaryTagName) |
void |
setPrimaryTagValue(String primaryTagValue) |
void |
setResourceName(String resourceName) |
void |
setService(String service) |
void |
setStat(ApmResourceStatName stat) |
ApmResourceStatsQuery |
stat(ApmResourceStatName stat) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CROSS_ORG_UUIDS
public static final String JSON_PROPERTY_DATA_SOURCE
public static final String JSON_PROPERTY_ENV
public static final String JSON_PROPERTY_GROUP_BY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OPERATION_NAME
public static final String JSON_PROPERTY_PRIMARY_TAG_NAME
public static final String JSON_PROPERTY_PRIMARY_TAG_VALUE
public static final String JSON_PROPERTY_RESOURCE_NAME
public static final String JSON_PROPERTY_SERVICE
public static final String JSON_PROPERTY_STAT
public ApmResourceStatsQuery()
public ApmResourceStatsQuery(ApmResourceStatsDataSource dataSource, String env, String name, String service, ApmResourceStatName stat)
public ApmResourceStatsQuery crossOrgUuids(List<String> crossOrgUuids)
public ApmResourceStatsQuery addCrossOrgUuidsItem(String crossOrgUuidsItem)
@Nullable public List<String> getCrossOrgUuids()
public ApmResourceStatsQuery dataSource(ApmResourceStatsDataSource dataSource)
public ApmResourceStatsDataSource getDataSource()
public void setDataSource(ApmResourceStatsDataSource dataSource)
public ApmResourceStatsQuery env(String env)
public String getEnv()
public void setEnv(String env)
public ApmResourceStatsQuery groupBy(List<String> groupBy)
public ApmResourceStatsQuery addGroupByItem(String groupByItem)
@Nullable public List<String> getGroupBy()
public ApmResourceStatsQuery name(String name)
public String getName()
public void setName(String name)
public ApmResourceStatsQuery operationName(String operationName)
@Nullable public String getOperationName()
public void setOperationName(String operationName)
public ApmResourceStatsQuery primaryTagName(String primaryTagName)
@Nullable public String getPrimaryTagName()
primary_tag_value is
specified. See
https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadogpublic void setPrimaryTagName(String primaryTagName)
public ApmResourceStatsQuery primaryTagValue(String primaryTagValue)
@Nullable public String getPrimaryTagValue()
primary_tag_name must
also be specified.public void setPrimaryTagValue(String primaryTagValue)
public ApmResourceStatsQuery resourceName(String resourceName)
@Nullable public String getResourceName()
public void setResourceName(String resourceName)
public ApmResourceStatsQuery service(String service)
public String getService()
public void setService(String service)
public ApmResourceStatsQuery stat(ApmResourceStatName stat)
public ApmResourceStatName getStat()
public void setStat(ApmResourceStatName stat)
public ApmResourceStatsQuery 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 © 2026. All rights reserved.