@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricTagConfigurationUpdateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATIONS |
static String |
JSON_PROPERTY_INCLUDE_PERCENTILES |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
MetricTagConfigurationUpdateAttributes() |
| Modifier and Type | Method and Description |
|---|---|
MetricTagConfigurationUpdateAttributes |
addAggregationsItem(MetricCustomAggregation aggregationsItem) |
MetricTagConfigurationUpdateAttributes |
addTagsItem(String tagsItem) |
MetricTagConfigurationUpdateAttributes |
aggregations(List<MetricCustomAggregation> aggregations) |
boolean |
equals(Object o)
Return true if this MetricTagConfigurationUpdateAttributes 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<MetricCustomAggregation> |
getAggregations()
A list of queryable aggregation combinations for a count, rate, or gauge metric.
|
Boolean |
getIncludePercentiles()
Toggle to include/exclude percentiles for a distribution metric.
|
List<String> |
getTags()
A list of tag keys that will be queryable for your metric.
|
int |
hashCode() |
MetricTagConfigurationUpdateAttributes |
includePercentiles(Boolean includePercentiles) |
MetricTagConfigurationUpdateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregations(List<MetricCustomAggregation> aggregations) |
void |
setIncludePercentiles(Boolean includePercentiles) |
void |
setTags(List<String> tags) |
MetricTagConfigurationUpdateAttributes |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATIONS
public static final String JSON_PROPERTY_INCLUDE_PERCENTILES
public static final String JSON_PROPERTY_TAGS
public MetricTagConfigurationUpdateAttributes()
public MetricTagConfigurationUpdateAttributes aggregations(List<MetricCustomAggregation> aggregations)
public MetricTagConfigurationUpdateAttributes addAggregationsItem(MetricCustomAggregation aggregationsItem)
@Nullable public List<MetricCustomAggregation> getAggregations()
Can only be applied to metrics that have a metric_type of count,
rate, or gauge.
public void setAggregations(List<MetricCustomAggregation> aggregations)
public MetricTagConfigurationUpdateAttributes includePercentiles(Boolean includePercentiles)
@Nullable public Boolean getIncludePercentiles()
metric_type of distribution.public void setIncludePercentiles(Boolean includePercentiles)
public MetricTagConfigurationUpdateAttributes tags(List<String> tags)
public MetricTagConfigurationUpdateAttributes addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public MetricTagConfigurationUpdateAttributes 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 © 2023. All rights reserved.