Package com.datadog.api.client.v2.model
Class MetricTagConfigurationUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.MetricTagConfigurationUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricTagConfigurationUpdateAttributes
extends Object
Object containing the definition of a metric tag configuration to be updated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(MetricCustomAggregation aggregationsItem) addTagsItem(String tagsItem) aggregations(List<MetricCustomAggregation> aggregations) booleanReturn true if this MetricTagConfigurationUpdateAttributes object is equal to o.excludeTagsMode(Boolean excludeTagsMode) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Deprecated.When set to true, the configuration will exclude the configured tags and include any other submitted tags.Toggle to include/exclude percentiles for a distribution metric.getTags()A list of tag keys that will be queryable for your metric.inthashCode()includePercentiles(Boolean includePercentiles) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregations(List<MetricCustomAggregation> aggregations) voidsetExcludeTagsMode(Boolean excludeTagsMode) voidsetIncludePercentiles(Boolean includePercentiles) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_EXCLUDE_TAGS_MODE
- See Also:
-
JSON_PROPERTY_INCLUDE_PERCENTILES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
MetricTagConfigurationUpdateAttributes
public MetricTagConfigurationUpdateAttributes()
-
-
Method Details
-
aggregations
public MetricTagConfigurationUpdateAttributes aggregations(List<MetricCustomAggregation> aggregations) -
addAggregationsItem
public MetricTagConfigurationUpdateAttributes addAggregationsItem(MetricCustomAggregation aggregationsItem) -
getAggregations
Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.- Returns:
- aggregations
-
setAggregations
-
excludeTagsMode
-
getExcludeTagsMode
When set to true, the configuration will exclude the configured tags and include any other submitted tags. When set to false, the configuration will include the configured tags and exclude any other submitted tags. Defaults to false. Requirestagsproperty.- Returns:
- excludeTagsMode
-
setExcludeTagsMode
-
includePercentiles
-
getIncludePercentiles
Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have ametric_typeofdistribution.- Returns:
- includePercentiles
-
setIncludePercentiles
-
tags
-
addTagsItem
-
getTags
A list of tag keys that will be queryable for your metric.- Returns:
- tags
-
setTags
-
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:
- MetricTagConfigurationUpdateAttributes
-
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 MetricTagConfigurationUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-