Class TagIndexingRuleAttributes

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

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

  • Constructor Details

    • TagIndexingRuleAttributes

      public TagIndexingRuleAttributes()
  • Method Details

    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp when the rule was created.
      Returns:
      createdAt
    • getCreatedByHandle

      @Nullable public String getCreatedByHandle()
      Handle of the user who created the rule.
      Returns:
      createdByHandle
    • excludeTagsMode

      public TagIndexingRuleAttributes 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 TagIndexingRuleAttributes ignoredMetricNameMatches(List<String> ignoredMetricNameMatches)
    • addIgnoredMetricNameMatchesItem

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

      public TagIndexingRuleAttributes 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)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp when the rule was last modified.
      Returns:
      modifiedAt
    • getModifiedByHandle

      @Nullable public String getModifiedByHandle()
      Handle of the user who last modified the rule.
      Returns:
      modifiedByHandle
    • name

      public TagIndexingRuleAttributes name(String 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)
    • getRuleOrder

      @Nullable public Long getRuleOrder()
      Evaluation order within the org. Lower values are evaluated first. Assigned server-side on create (max+1); pass on update to change the rule's position.
      Returns:
      ruleOrder
    • tags

      public TagIndexingRuleAttributes tags(List<String> tags)
    • addTagsItem

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