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 Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_EMAILS

      public static final String JSON_PROPERTY_EMAILS
      See Also:
    • JSON_PROPERTY_EXCLUDE_TAGS_MODE

      public static final String JSON_PROPERTY_EXCLUDE_TAGS_MODE
      See Also:
    • JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW

      public static final String JSON_PROPERTY_INCLUDE_ACTIVELY_QUERIED_TAGS_WINDOW
      See Also:
    • JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS

      public static final String JSON_PROPERTY_OVERRIDE_EXISTING_CONFIGURATIONS
      See Also:
    • JSON_PROPERTY_TAGS

      public static final String JSON_PROPERTY_TAGS
      See Also:
  • Constructor Details

    • MetricBulkTagConfigCreateAttributes

      public MetricBulkTagConfigCreateAttributes()
  • Method Details

    • emails

    • addEmailsItem

      public MetricBulkTagConfigCreateAttributes addEmailsItem(String emailsItem)
    • getEmails

      @Nullable public List<String> getEmails()
      A list of account emails to notify when the configuration is applied.
      Returns:
      emails
    • setEmails

      public void setEmails(List<String> emails)
    • excludeTagsMode

      public MetricBulkTagConfigCreateAttributes excludeTagsMode(Boolean excludeTagsMode)
    • getExcludeTagsMode

      @Nullable public Boolean 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

      public void setExcludeTagsMode(Boolean excludeTagsMode)
    • includeActivelyQueriedTagsWindow

      public MetricBulkTagConfigCreateAttributes includeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow)
    • getIncludeActivelyQueriedTagsWindow

      @Nullable public Double 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

      public void setIncludeActivelyQueriedTagsWindow(Double includeActivelyQueriedTagsWindow)
    • overrideExistingConfigurations

      public MetricBulkTagConfigCreateAttributes overrideExistingConfigurations(Boolean overrideExistingConfigurations)
    • getOverrideExistingConfigurations

      @Nullable public Boolean 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

      public void setOverrideExistingConfigurations(Boolean overrideExistingConfigurations)
    • tags

    • addTagsItem

      public MetricBulkTagConfigCreateAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of tag names to apply to the configuration.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • putAdditionalProperty

      public MetricBulkTagConfigCreateAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      MetricBulkTagConfigCreateAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this MetricBulkTagConfigCreateAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object