Package com.datadog.api.client.v2.model
Class MetricBulkTagConfigCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.MetricBulkTagConfigCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MetricBulkTagConfigCreateAttributes
extends Object
Optional parameters for bulk creating metric tag configurations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) addTagsItem(String tagsItem) booleanReturn true if this MetricBulkTagConfigCreateAttributes object is equal to o.excludeTagsMode(Boolean excludeTagsMode) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of account emails to notify when the configuration is applied.When set to true, the configuration will exclude the configured tags and include any other submitted tags.When provided, all tags that have been actively queried are configured (and, therefore, remain queryable) for each metric that matches the given prefix.When set to true, the configuration overrides any existing configurations for the given metric with the new set of tags in this configuration request.getTags()A list of tag names to apply to the configuration.inthashCode()includeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow) overrideExistingConfigurations(Boolean overrideExistingConfigurations) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetExcludeTagsMode(Boolean excludeTagsMode) voidsetIncludeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow) voidsetOverrideExistingConfigurations(Boolean overrideExistingConfigurations) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EMAILS
- See Also:
-
JSON_PROPERTY_EXCLUDE_TAGS_MODE
- See Also:
-
JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW
- See Also:
-
JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
MetricBulkTagConfigCreateAttributes
public MetricBulkTagConfigCreateAttributes()
-
-
Method Details
-
emails
-
addEmailsItem
-
getEmails
A list of account emails to notify when the configuration is applied.- Returns:
- emails
-
setEmails
-
excludeTagsMode
-
getExcludeTagsMode
When set to true, the configuration will exclude the configured tags and include any other submitted tags. When set to false, the configuration will include the configured tags and exclude any other submitted tags. Defaults to false.- Returns:
- excludeTagsMode
-
setExcludeTagsMode
-
includeActivelyQueriedTagsWindow
public MetricBulkTagConfigCreateAttributes includeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow) -
getIncludeActivelyQueriedTagsWindow
When provided, all tags that have been actively queried are configured (and, therefore, remain queryable) for each metric that matches the given prefix. Minimum value is 1 second, and maximum value is 7,776,000 seconds (90 days). minimum: 1 maximum: 7776000- Returns:
- includeActivelyQueriedTagsWindow
-
setIncludeActivelyQueriedTagsWindow
-
overrideExistingConfigurations
public MetricBulkTagConfigCreateAttributes overrideExistingConfigurations(Boolean overrideExistingConfigurations) -
getOverrideExistingConfigurations
When set to true, the configuration overrides any existing configurations for the given metric with the new set of tags in this configuration request. If false, old configurations are kept and are merged with the set of tags in this configuration request. Defaults to true.- Returns:
- overrideExistingConfigurations
-
setOverrideExistingConfigurations
-
tags
-
addTagsItem
-
getTags
A list of tag names to apply to the configuration.- 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:
- MetricBulkTagConfigCreateAttributes
-
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 MetricBulkTagConfigCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-