Class TagIndexingRuleOptionsData

java.lang.Object
com.datadog.api.client.v2.model.TagIndexingRuleOptionsData

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagIndexingRuleOptionsData extends Object
Data payload for tag indexing rule options.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_DYNAMIC_TAGS

      public static final String JSON_PROPERTY_DYNAMIC_TAGS
      See Also:
    • JSON_PROPERTY_MANAGE_PREEXISTING_METRICS

      public static final String JSON_PROPERTY_MANAGE_PREEXISTING_METRICS
      See Also:
    • JSON_PROPERTY_METRIC_MATCH

      public static final String JSON_PROPERTY_METRIC_MATCH
      See Also:
    • JSON_PROPERTY_OVERRIDE_PREVIOUS_RULES

      public static final String JSON_PROPERTY_OVERRIDE_PREVIOUS_RULES
      See Also:
  • Constructor Details

    • TagIndexingRuleOptionsData

      public TagIndexingRuleOptionsData()
  • Method Details

    • dynamicTags

      public TagIndexingRuleOptionsData dynamicTags(TagIndexingRuleDynamicTags dynamicTags)
    • getDynamicTags

      @Nullable public TagIndexingRuleDynamicTags getDynamicTags()
      Options for dynamic tag indexing applied per metric, such as tags filtered by query usage.

      Before a tag key is dropped by this rule, two grace period conditions must be met:

      1. The metric must be submitted for at least as long as the selected window.
      2. A tag key must have been submitted for at least 15 days.

      Any metric or tag key that does not meet these conditions are excluded from this indexing rule. The exclude_not_* fields require exclude_tags_mode to be set to true.

      Returns:
      dynamicTags
    • setDynamicTags

      public void setDynamicTags(TagIndexingRuleDynamicTags dynamicTags)
    • managePreexistingMetrics

      public TagIndexingRuleOptionsData managePreexistingMetrics(Boolean managePreexistingMetrics)
    • getManagePreexistingMetrics

      @Nullable public Boolean getManagePreexistingMetrics()
      When true, the rule applies to metrics that were ingested before the rule was created.
      Returns:
      managePreexistingMetrics
    • setManagePreexistingMetrics

      public void setManagePreexistingMetrics(Boolean managePreexistingMetrics)
    • metricMatch

      public TagIndexingRuleOptionsData metricMatch(TagIndexingRuleMetricMatch metricMatch)
    • getMetricMatch

      @Nullable public TagIndexingRuleMetricMatch getMetricMatch()
      Criteria for matching metrics based on query state.
      Returns:
      metricMatch
    • setMetricMatch

      public void setMetricMatch(TagIndexingRuleMetricMatch metricMatch)
    • overridePreviousRules

      public TagIndexingRuleOptionsData overridePreviousRules(Boolean overridePreviousRules)
    • getOverridePreviousRules

      @Nullable public Boolean getOverridePreviousRules()
      When true, this rule's tag list overrides tags configured by earlier rules for the same metric. When false (default), tags from all matching rules are combined.
      Returns:
      overridePreviousRules
    • setOverridePreviousRules

      public void setOverridePreviousRules(Boolean overridePreviousRules)
    • putAdditionalProperty

      public TagIndexingRuleOptionsData 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:
      TagIndexingRuleOptionsData
    • 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 TagIndexingRuleOptionsData 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