Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem) addMetricNameMatchesItem(String metricNameMatchesItem) addTagsItem(String tagsItem) booleanReturn true if this TagIndexingRuleAttributes object is equal to o.excludeTagsMode(Boolean excludeTagsMode) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp when the rule was created.Handle of the user who created the rule.When true, the rule excludes the listed tags and indexes all others.Metric name prefixes excluded from the rule's scope.Metric name prefixes (glob patterns) this rule applies to.Timestamp when the rule was last modified.Handle of the user who last modified the rule.getName()Human-readable name for the rule.Versioned configuration options for a tag indexing rule.Evaluation order within the org.getTags()Tag keys managed by this rule.inthashCode()ignoredMetricNameMatches(List<String> ignoredMetricNameMatches) metricNameMatches(List<String> metricNameMatches) options(TagIndexingRuleOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetExcludeTagsMode(Boolean excludeTagsMode) voidsetIgnoredMetricNameMatches(List<String> ignoredMetricNameMatches) voidsetMetricNameMatches(List<String> metricNameMatches) voidvoidsetOptions(TagIndexingRuleOptions options) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY_HANDLE
- See Also:
-
JSON_PROPERTY_EXCLUDE_TAGS_MODE
- See Also:
-
JSON_PROPERTY_IGNORED_METRIC_NAME_MATCHES
- See Also:
-
JSON_PROPERTY_METRIC_NAME_MATCHES
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_BY_HANDLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_RULE_ORDER
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
TagIndexingRuleAttributes
public TagIndexingRuleAttributes()
-
-
Method Details
-
getCreatedAt
Timestamp when the rule was created.- Returns:
- createdAt
-
getCreatedByHandle
Handle of the user who created the rule.- Returns:
- createdByHandle
-
excludeTagsMode
-
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
-
ignoredMetricNameMatches
-
addIgnoredMetricNameMatchesItem
public TagIndexingRuleAttributes addIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem) -
getIgnoredMetricNameMatches
Metric name prefixes excluded from the rule's scope.- Returns:
- ignoredMetricNameMatches
-
setIgnoredMetricNameMatches
-
metricNameMatches
-
addMetricNameMatchesItem
-
getMetricNameMatches
Metric name prefixes (glob patterns) this rule applies to.- Returns:
- metricNameMatches
-
setMetricNameMatches
-
getModifiedAt
Timestamp when the rule was last modified.- Returns:
- modifiedAt
-
getModifiedByHandle
Handle of the user who last modified the rule.- Returns:
- modifiedByHandle
-
name
-
getName
Human-readable name for the rule.- Returns:
- name
-
setName
-
options
-
getOptions
Versioned configuration options for a tag indexing rule.- Returns:
- options
-
setOptions
-
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
-
addTagsItem
-
getTags
Tag keys managed by this rule.- Returns:
- tags
-
setTags
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- TagIndexingRuleAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this TagIndexingRuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-