Class TagIndexingRuleUpdateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagIndexingRuleUpdateAttributes extends Object
Attributes for updating a tag indexing rule. All fields are optional; omitted fields are unchanged.
  • Field Details

  • Constructor Details

    • TagIndexingRuleUpdateAttributes

      public TagIndexingRuleUpdateAttributes()
  • Method Details

    • excludeTagsMode

      public TagIndexingRuleUpdateAttributes excludeTagsMode(Boolean excludeTagsMode)
    • getExcludeTagsMode

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

      public void setExcludeTagsMode(Boolean excludeTagsMode)
    • ignoredMetricNameMatches

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

      public TagIndexingRuleUpdateAttributes 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 TagIndexingRuleUpdateAttributes metricNameMatches(List<String> metricNameMatches)
    • addMetricNameMatchesItem

      public TagIndexingRuleUpdateAttributes addMetricNameMatchesItem(String metricNameMatchesItem)
    • getMetricNameMatches

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

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

    • getName

      @Nullable 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)
    • ruleOrder

      public TagIndexingRuleUpdateAttributes ruleOrder(Long ruleOrder)
    • getRuleOrder

      @Nullable public Long getRuleOrder()
      Desired evaluation order. Returns 409 if the value conflicts with another rule; use POST /api/v2/metrics/tag-indexing-rules/order for atomic re-sequencing.
      Returns:
      ruleOrder
    • setRuleOrder

      public void setRuleOrder(Long ruleOrder)
    • tags

    • addTagsItem

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