Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTagIndexingRuleCreateAttributes(List<String> metricNameMatches, String name) -
Method Summary
Modifier and TypeMethodDescriptionaddIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem) addMetricNameMatchesItem(String metricNameMatchesItem) addTagsItem(String tagsItem) booleanReturn true if this TagIndexingRuleCreateAttributes 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.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_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_TAGS
- See Also:
-
-
Constructor Details
-
TagIndexingRuleCreateAttributes
public TagIndexingRuleCreateAttributes() -
TagIndexingRuleCreateAttributes
-
-
Method Details
-
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
public TagIndexingRuleCreateAttributes ignoredMetricNameMatches(List<String> ignoredMetricNameMatches) -
addIgnoredMetricNameMatchesItem
public TagIndexingRuleCreateAttributes 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
-
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:
- TagIndexingRuleCreateAttributes
-
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 TagIndexingRuleCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-