Package com.datadog.api.client.v2.model
Class MetricTagConfigurationAttributes
java.lang.Object
com.datadog.api.client.v2.model.MetricTagConfigurationAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricTagConfigurationAttributes
extends Object
Object containing the definition of a metric tag configuration attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(MetricCustomAggregation aggregationsItem) addTagsItem(String tagsItem) aggregations(List<MetricCustomAggregation> aggregations) createdAt(OffsetDateTime createdAt) booleanReturn true if this MetricTagConfigurationAttributes object is equal to o.excludeTagsMode(Boolean excludeTagsMode) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Deprecated.Timestamp when the tag configuration was created.When set to true, the configuration will exclude the configured tags and include any other submitted tags.Toggle to include or exclude percentile aggregations for distribution metrics.The metric's type.Timestamp when the tag configuration was last modified.getTags()List of tag keys on which to group.inthashCode()includePercentiles(Boolean includePercentiles) metricType(MetricTagConfigurationMetricTypes metricType) modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregations(List<MetricCustomAggregation> aggregations) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExcludeTagsMode(Boolean excludeTagsMode) voidsetIncludePercentiles(Boolean includePercentiles) voidsetMetricType(MetricTagConfigurationMetricTypes metricType) voidsetModifiedAt(OffsetDateTime modifiedAt) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXCLUDE_TAGS_MODE
- See Also:
-
JSON_PROPERTY_INCLUDE_PERCENTILES
- See Also:
-
JSON_PROPERTY_METRIC_TYPE
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
MetricTagConfigurationAttributes
public MetricTagConfigurationAttributes()
-
-
Method Details
-
aggregations
-
addAggregationsItem
public MetricTagConfigurationAttributes addAggregationsItem(MetricCustomAggregation aggregationsItem) -
getAggregations
Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.- Returns:
- aggregations
-
setAggregations
-
createdAt
-
getCreatedAt
Timestamp when the tag configuration was created.- Returns:
- createdAt
-
setCreatedAt
-
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 or exclude percentile aggregations for distribution metrics. Only present when themetric_typeisdistribution.- Returns:
- includePercentiles
-
setIncludePercentiles
-
metricType
-
getMetricType
The metric's type.- Returns:
- metricType
-
setMetricType
-
modifiedAt
-
getModifiedAt
Timestamp when the tag configuration was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
tags
-
addTagsItem
-
getTags
List of tag keys on which to group.- 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:
- MetricTagConfigurationAttributes
-
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 MetricTagConfigurationAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-