Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem) addMetricNameMatchesItem(String metricNameMatchesItem) addTagsItem(String tagsItem) booleanReturn true if this TagIndexingRuleUpdateAttributes object is equal to o.excludeTagsMode(Boolean excludeTagsMode) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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.getName()Human-readable name for the rule.Versioned configuration options for a tag indexing rule.Desired evaluation order.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) voidsetRuleOrder(Long ruleOrder) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EXCLUDE_TAGS_MODE
- See Also:
-
JSON_PROPERTY_IGNORED_METRIC_NAME_MATCHES
- See Also:
-
JSON_PROPERTY_METRIC_NAME_MATCHES
- 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
-
TagIndexingRuleUpdateAttributes
public TagIndexingRuleUpdateAttributes()
-
-
Method Details
-
excludeTagsMode
-
getExcludeTagsMode
When true, the rule excludes the listed tags and indexes all others.- Returns:
- excludeTagsMode
-
setExcludeTagsMode
-
ignoredMetricNameMatches
public TagIndexingRuleUpdateAttributes ignoredMetricNameMatches(List<String> ignoredMetricNameMatches) -
addIgnoredMetricNameMatchesItem
public TagIndexingRuleUpdateAttributes 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
-
name
-
getName
Human-readable name for the rule.- Returns:
- name
-
setName
-
options
-
getOptions
Versioned configuration options for a tag indexing rule.- Returns:
- options
-
setOptions
-
ruleOrder
-
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
-
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:
- TagIndexingRuleUpdateAttributes
-
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 TagIndexingRuleUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-