Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) booleanReturn true if this AWSNamespaceTagFilter object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The AWS service for which the tag filters defined intagswill be applied.getTags()The AWS resource tags to filter on for the service specified bynamespace.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetNamespace(String namespace) voidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAMESPACE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
AWSNamespaceTagFilter
public AWSNamespaceTagFilter()
-
-
Method Details
-
namespace
-
getNamespace
The AWS service for which the tag filters defined intagswill be applied.- Returns:
- namespace
-
setNamespace
-
tags
-
addTagsItem
-
getTags
The AWS resource tags to filter on for the service specified bynamespace.- Returns:
- tags
-
getTags_JsonNullable
-
setTags_JsonNullable
-
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:
- AWSNamespaceTagFilter
-
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 AWSNamespaceTagFilter object is equal to o. -
hashCode
public int hashCode() -
toString
-