@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagIndexingRuleCreateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EXCLUDE_TAGS_MODE |
static String |
JSON_PROPERTY_IGNORED_METRIC_NAME_MATCHES |
static String |
JSON_PROPERTY_METRIC_NAME_MATCHES |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OPTIONS |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
TagIndexingRuleCreateAttributes() |
TagIndexingRuleCreateAttributes(List<String> metricNameMatches,
String name) |
| Modifier and Type | Method and Description |
|---|---|
TagIndexingRuleCreateAttributes |
addIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem) |
TagIndexingRuleCreateAttributes |
addMetricNameMatchesItem(String metricNameMatchesItem) |
TagIndexingRuleCreateAttributes |
addTagsItem(String tagsItem) |
boolean |
equals(Object o)
Return true if this TagIndexingRuleCreateAttributes object is equal to o.
|
TagIndexingRuleCreateAttributes |
excludeTagsMode(Boolean excludeTagsMode) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getExcludeTagsMode()
When true, the rule excludes the listed tags and indexes all others.
|
List<String> |
getIgnoredMetricNameMatches()
Metric name prefixes excluded from the rule's scope.
|
List<String> |
getMetricNameMatches()
Metric name prefixes (glob patterns) this rule applies to.
|
String |
getName()
Human-readable name for the rule.
|
TagIndexingRuleOptions |
getOptions()
Versioned configuration options for a tag indexing rule.
|
List<String> |
getTags()
Tag keys managed by this rule.
|
int |
hashCode() |
TagIndexingRuleCreateAttributes |
ignoredMetricNameMatches(List<String> ignoredMetricNameMatches) |
TagIndexingRuleCreateAttributes |
metricNameMatches(List<String> metricNameMatches) |
TagIndexingRuleCreateAttributes |
name(String name) |
TagIndexingRuleCreateAttributes |
options(TagIndexingRuleOptions options) |
TagIndexingRuleCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setExcludeTagsMode(Boolean excludeTagsMode) |
void |
setIgnoredMetricNameMatches(List<String> ignoredMetricNameMatches) |
void |
setMetricNameMatches(List<String> metricNameMatches) |
void |
setName(String name) |
void |
setOptions(TagIndexingRuleOptions options) |
void |
setTags(List<String> tags) |
TagIndexingRuleCreateAttributes |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_EXCLUDE_TAGS_MODE
public static final String JSON_PROPERTY_IGNORED_METRIC_NAME_MATCHES
public static final String JSON_PROPERTY_METRIC_NAME_MATCHES
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OPTIONS
public static final String JSON_PROPERTY_TAGS
public TagIndexingRuleCreateAttributes excludeTagsMode(Boolean excludeTagsMode)
@Nullable public Boolean getExcludeTagsMode()
public void setExcludeTagsMode(Boolean excludeTagsMode)
public TagIndexingRuleCreateAttributes ignoredMetricNameMatches(List<String> ignoredMetricNameMatches)
public TagIndexingRuleCreateAttributes addIgnoredMetricNameMatchesItem(String ignoredMetricNameMatchesItem)
@Nullable public List<String> getIgnoredMetricNameMatches()
public void setIgnoredMetricNameMatches(List<String> ignoredMetricNameMatches)
public TagIndexingRuleCreateAttributes metricNameMatches(List<String> metricNameMatches)
public TagIndexingRuleCreateAttributes addMetricNameMatchesItem(String metricNameMatchesItem)
public List<String> getMetricNameMatches()
public TagIndexingRuleCreateAttributes name(String name)
public String getName()
public void setName(String name)
public TagIndexingRuleCreateAttributes options(TagIndexingRuleOptions options)
@Nullable public TagIndexingRuleOptions getOptions()
public void setOptions(TagIndexingRuleOptions options)
public TagIndexingRuleCreateAttributes tags(List<String> tags)
public TagIndexingRuleCreateAttributes addTagsItem(String tagsItem)
public TagIndexingRuleCreateAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.