Package com.datadog.api.client.v2.model
Class MetricTagConfigurationCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.MetricTagConfigurationCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricTagConfigurationCreateAttributes
extends Object
Object containing the definition of a metric tag configuration to be created.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMetricTagConfigurationCreateAttributes(MetricTagConfigurationMetricTypes metricType, List<String> tags) -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(MetricCustomAggregation aggregationsItem) addTagsItem(String tagsItem) aggregations(List<MetricCustomAggregation> aggregations) booleanReturn true if this MetricTagConfigurationCreateAttributes 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.The metric's type.getTags()A list of tag keys that will be queryable for your metric.inthashCode()includePercentiles(Boolean includePercentiles) metricType(MetricTagConfigurationMetricTypes metricType) 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) voidsetMetricType(MetricTagConfigurationMetricTypes metricType) 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_METRIC_TYPE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
MetricTagConfigurationCreateAttributes
public MetricTagConfigurationCreateAttributes() -
MetricTagConfigurationCreateAttributes
public MetricTagConfigurationCreateAttributes(MetricTagConfigurationMetricTypes metricType, List<String> tags)
-
-
Method Details
-
aggregations
public MetricTagConfigurationCreateAttributes aggregations(List<MetricCustomAggregation> aggregations) -
addAggregationsItem
public MetricTagConfigurationCreateAttributes 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
-
metricType
public MetricTagConfigurationCreateAttributes metricType(MetricTagConfigurationMetricTypes metricType) -
getMetricType
The metric's type.- Returns:
- metricType
-
setMetricType
-
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:
- MetricTagConfigurationCreateAttributes
-
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 MetricTagConfigurationCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-