Class TagIndexingRuleCreateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagIndexingRuleCreateAttributes extends Object
Attributes for creating a tag indexing rule.
  • Field Details

  • Constructor Details

    • TagIndexingRuleCreateAttributes

      public TagIndexingRuleCreateAttributes()
    • TagIndexingRuleCreateAttributes

      public TagIndexingRuleCreateAttributes(List<String> metricNameMatches, String name)
  • Method Details

    • excludeTagsMode

      public TagIndexingRuleCreateAttributes excludeTagsMode(Boolean excludeTagsMode)
    • getExcludeTagsMode

      @Nullable public Boolean getExcludeTagsMode()
      When true, the rule excludes the listed tags and indexes all others. When false (default), the rule includes only the listed tags.
      Returns:
      excludeTagsMode
    • setExcludeTagsMode

      public void setExcludeTagsMode(Boolean excludeTagsMode)
    • ignoredMetricNameMatches

      public TagIndexingRuleCreateAttributes ignoredMetricNameMatches(List<String> ignoredMetricNameMatches)
    • addIgnoredMetricNameMatchesItem

      public TagIndexingRuleCreateAttributes addIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem)
    • getIgnoredMetricNameMatches

      @Nullable public List<String> getIgnoredMetricNameMatches()
      Metric name prefixes excluded from the rule's scope.
      Returns:
      ignoredMetricNameMatches
    • setIgnoredMetricNameMatches

      public void setIgnoredMetricNameMatches(List<String> ignoredMetricNameMatches)
    • metricNameMatches

      public TagIndexingRuleCreateAttributes metricNameMatches(List<String> metricNameMatches)
    • addMetricNameMatchesItem

      public TagIndexingRuleCreateAttributes addMetricNameMatchesItem(String metricNameMatchesItem)
    • getMetricNameMatches

      public List<String> getMetricNameMatches()
      Metric name prefixes (glob patterns) this rule applies to.
      Returns:
      metricNameMatches
    • setMetricNameMatches

      public void setMetricNameMatches(List<String> metricNameMatches)
    • name

    • getName

      public String getName()
      Human-readable name for the rule.
      Returns:
      name
    • setName

      public void setName(String name)
    • options

    • getOptions

      @Nullable public TagIndexingRuleOptions getOptions()
      Versioned configuration options for a tag indexing rule.
      Returns:
      options
    • setOptions

      public void setOptions(TagIndexingRuleOptions options)
    • tags

    • addTagsItem

      public TagIndexingRuleCreateAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Tag keys managed by this rule.
      Returns:
      tags
    • setTags

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

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