Class AWSNamespaceTagFilter

java.lang.Object
com.datadog.api.client.v2.model.AWSNamespaceTagFilter

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSNamespaceTagFilter extends Object
AWS Metrics Collection tag filters list. Defaults to []. The array of custom AWS resource tags (in the form key:value) defines a filter that Datadog uses when collecting metrics from a specified service. Wildcards, such as ? (match a single character) and * (match multiple characters), and exclusion using ! before the tag are supported. For EC2, only hosts that match one of the defined tags are imported into Datadog. The rest are ignored. For example, env:production,instance-type:c?.*,!region:us-east-1.
  • Field Details

  • Constructor Details

    • AWSNamespaceTagFilter

      public AWSNamespaceTagFilter()
  • Method Details

    • namespace

      public AWSNamespaceTagFilter namespace(String namespace)
    • getNamespace

      @Nullable public String getNamespace()
      The AWS service for which the tag filters defined in tags will be applied.
      Returns:
      namespace
    • setNamespace

      public void setNamespace(String namespace)
    • tags

      public AWSNamespaceTagFilter tags(List<String> tags)
    • addTagsItem

      public AWSNamespaceTagFilter addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      The AWS resource tags to filter on for the service specified by namespace.
      Returns:
      tags
    • getTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
    • setTags_JsonNullable

      public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
    • setTags

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

      public AWSNamespaceTagFilter 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:
      AWSNamespaceTagFilter
    • 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 AWSNamespaceTagFilter 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