Class AWSLogSourceTagFilter

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSLogSourceTagFilter extends Object
AWS log source tag filter list. Defaults to []. Array of log source to AWS resource tag mappings. Each mapping contains a log source and its associated AWS resource tags (in key:value format) used to filter logs submitted to Datadog. Tag filters are applied for tags on the AWS resource emitting logs; tags associated with the log storage entity (such as a CloudWatch Log Group or S3 Bucket) are not considered. For more information on resource tag filter syntax, see AWS resource exclusion in the AWS integration billing page.
  • Field Details

  • Constructor Details

    • AWSLogSourceTagFilter

      public AWSLogSourceTagFilter()
  • Method Details

    • source

      public AWSLogSourceTagFilter source(String source)
    • getSource

      @Nullable public String getSource()
      The AWS log source to which the tag filters defined in tags are applied.
      Returns:
      source
    • setSource

      public void setSource(String source)
    • tags

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

      public AWSLogSourceTagFilter addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      The AWS resource tags to filter on for the log source specified by source.
      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 AWSLogSourceTagFilter 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:
      AWSLogSourceTagFilter
    • 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 AWSLogSourceTagFilter 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