Class TagIndexingRuleDynamicTags

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagIndexingRuleDynamicTags extends Object
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.

  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_EXCLUDE_NOT_QUERIED_WINDOW_SECONDS

      public static final String JSON_PROPERTY_EXCLUDE_NOT_QUERIED_WINDOW_SECONDS
      See Also:
    • JSON_PROPERTY_EXCLUDE_NOT_USED_IN_ASSETS

      public static final String JSON_PROPERTY_EXCLUDE_NOT_USED_IN_ASSETS
      See Also:
  • Constructor Details

    • TagIndexingRuleDynamicTags

      public TagIndexingRuleDynamicTags()
  • Method Details

    • excludeNotQueriedWindowSeconds

      public TagIndexingRuleDynamicTags excludeNotQueriedWindowSeconds(Long excludeNotQueriedWindowSeconds)
    • getExcludeNotQueriedWindowSeconds

      @Nullable public Long getExcludeNotQueriedWindowSeconds()
      Tags that have not been queried within this window are excluded from indexing. Maximum of 7776000 (90 days). maximum: 7776000
      Returns:
      excludeNotQueriedWindowSeconds
    • setExcludeNotQueriedWindowSeconds

      public void setExcludeNotQueriedWindowSeconds(Long excludeNotQueriedWindowSeconds)
    • excludeNotUsedInAssets

      public TagIndexingRuleDynamicTags excludeNotUsedInAssets(Boolean excludeNotUsedInAssets)
    • getExcludeNotUsedInAssets

      @Nullable public Boolean getExcludeNotUsedInAssets()
      Tags not used in any dashboards, monitors, notebooks, or SLOs are excluded from indexing.
      Returns:
      excludeNotUsedInAssets
    • setExcludeNotUsedInAssets

      public void setExcludeNotUsedInAssets(Boolean excludeNotUsedInAssets)
    • putAdditionalProperty

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