@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSNamespaceTagFilter extends Object
[]. 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 will be
imported into Datadog. The rest will be ignored. For example,
env:production,instance-type:c?.*,!region:us-east-1.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_NAMESPACE |
static String |
JSON_PROPERTY_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
AWSNamespaceTagFilter() |
| Modifier and Type | Method and Description |
|---|---|
AWSNamespaceTagFilter |
addTagsItem(String tagsItem) |
boolean |
equals(Object o)
Return true if this AWSNamespaceTagFilter object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getNamespace()
The AWS service for which the tag filters defined in
tags will be applied. |
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getTags_JsonNullable() |
List<String> |
getTags()
The AWS resource tags to filter on for the service specified by
namespace. |
int |
hashCode() |
AWSNamespaceTagFilter |
namespace(String namespace) |
AWSNamespaceTagFilter |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setNamespace(String namespace) |
void |
setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags) |
void |
setTags(List<String> tags) |
AWSNamespaceTagFilter |
tags(List<String> tags) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_NAMESPACE
public static final String JSON_PROPERTY_TAGS
public AWSNamespaceTagFilter namespace(String namespace)
@Nullable public String getNamespace()
tags will be applied.public void setNamespace(String namespace)
public AWSNamespaceTagFilter tags(List<String> tags)
public AWSNamespaceTagFilter addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
namespace.public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
public AWSNamespaceTagFilter putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.