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 Details

  • Constructor Details

    • MetricTagConfigurationUpdateAttributes

      public MetricTagConfigurationUpdateAttributes()
  • Method Details

    • aggregations

    • addAggregationsItem

      public MetricTagConfigurationUpdateAttributes addAggregationsItem(MetricCustomAggregation aggregationsItem)
    • getAggregations

      @Nullable public List<MetricCustomAggregation> getAggregations()
      Deprecated. You no longer need to configure specific time and space aggregations for Metrics Without Limits.
      Returns:
      aggregations
    • setAggregations

      public void setAggregations(List<MetricCustomAggregation> aggregations)
    • excludeTagsMode

      public MetricTagConfigurationUpdateAttributes excludeTagsMode(Boolean excludeTagsMode)
    • getExcludeTagsMode

      @Nullable public Boolean 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. Requires tags property.
      Returns:
      excludeTagsMode
    • setExcludeTagsMode

      public void setExcludeTagsMode(Boolean excludeTagsMode)
    • includePercentiles

      public MetricTagConfigurationUpdateAttributes includePercentiles(Boolean includePercentiles)
    • getIncludePercentiles

      @Nullable public Boolean getIncludePercentiles()
      Toggle to include/exclude percentiles for a distribution metric. Defaults to false. Can only be applied to metrics that have a metric_type of distribution.
      Returns:
      includePercentiles
    • setIncludePercentiles

      public void setIncludePercentiles(Boolean includePercentiles)
    • tags

    • addTagsItem

      public MetricTagConfigurationUpdateAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of tag keys that will be queryable for your metric.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

      public MetricTagConfigurationUpdateAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      MetricTagConfigurationUpdateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this MetricTagConfigurationUpdateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object