@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagRuleAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_DELETED_AT |
static String |
JSON_PROPERTY_DELETED_BY |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_MODIFIED_BY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NEGATED |
static String |
JSON_PROPERTY_REQUIRED |
static String |
JSON_PROPERTY_RULE_TYPE |
static String |
JSON_PROPERTY_SCOPE |
static String |
JSON_PROPERTY_SOURCE |
static String |
JSON_PROPERTY_TAG_KEY |
static String |
JSON_PROPERTY_TAG_VALUE_PATTERNS |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
TagRuleAttributes() |
TagRuleAttributes(OffsetDateTime createdAt,
String createdBy,
Boolean enabled,
OffsetDateTime modifiedAt,
String modifiedBy,
String name,
Boolean negated,
Boolean required,
TagRuleType ruleType,
String scope,
TagRuleSource source,
String tagKey,
List<String> tagValuePatterns,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
TagRuleAttributes |
addTagValuePatternsItem(String tagValuePatternsItem) |
TagRuleAttributes |
createdAt(OffsetDateTime createdAt) |
TagRuleAttributes |
createdBy(String createdBy) |
TagRuleAttributes |
deletedAt(OffsetDateTime deletedAt) |
TagRuleAttributes |
deletedBy(String deletedBy) |
TagRuleAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this TagRuleAttributes 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.
|
OffsetDateTime |
getCreatedAt()
The RFC 3339 timestamp at which the rule was created.
|
String |
getCreatedBy()
The identifier of the user who created the rule.
|
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getDeletedAt_JsonNullable() |
OffsetDateTime |
getDeletedAt()
The RFC 3339 timestamp at which the rule was soft-deleted.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getDeletedBy_JsonNullable() |
String |
getDeletedBy()
The identifier of the user who soft-deleted the rule.
|
Boolean |
getEnabled()
Whether the rule is currently enforced.
|
OffsetDateTime |
getModifiedAt()
The RFC 3339 timestamp at which the rule was last modified.
|
String |
getModifiedBy()
The identifier of the user who last modified the rule.
|
String |
getName()
Human-readable name for the tag rule.
|
Boolean |
getNegated()
When
true, the rule matches tag values that do NOT match any of the supplied
patterns. |
Boolean |
getRequired()
When
true, telemetry without this tag is treated as a violation. |
TagRuleType |
getRuleType()
How the rule is enforced.
|
String |
getScope()
The scope the rule applies within.
|
TagRuleSource |
getSource()
The telemetry source that a tag rule applies to.
|
String |
getTagKey()
The tag key that the rule governs.
|
List<String> |
getTagValuePatterns()
The patterns that valid values for the tag key must match.
|
Long |
getVersion()
A monotonically increasing version counter that is incremented on each update.
|
int |
hashCode() |
TagRuleAttributes |
modifiedAt(OffsetDateTime modifiedAt) |
TagRuleAttributes |
modifiedBy(String modifiedBy) |
TagRuleAttributes |
name(String name) |
TagRuleAttributes |
negated(Boolean negated) |
TagRuleAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TagRuleAttributes |
required(Boolean required) |
TagRuleAttributes |
ruleType(TagRuleType ruleType) |
TagRuleAttributes |
scope(String scope) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setCreatedBy(String createdBy) |
void |
setDeletedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> deletedAt) |
void |
setDeletedAt(OffsetDateTime deletedAt) |
void |
setDeletedBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> deletedBy) |
void |
setDeletedBy(String deletedBy) |
void |
setEnabled(Boolean enabled) |
void |
setModifiedAt(OffsetDateTime modifiedAt) |
void |
setModifiedBy(String modifiedBy) |
void |
setName(String name) |
void |
setNegated(Boolean negated) |
void |
setRequired(Boolean required) |
void |
setRuleType(TagRuleType ruleType) |
void |
setScope(String scope) |
void |
setSource(TagRuleSource source) |
void |
setTagKey(String tagKey) |
void |
setTagValuePatterns(List<String> tagValuePatterns) |
void |
setVersion(Long version) |
TagRuleAttributes |
source(TagRuleSource source) |
TagRuleAttributes |
tagKey(String tagKey) |
TagRuleAttributes |
tagValuePatterns(List<String> tagValuePatterns) |
String |
toString() |
TagRuleAttributes |
version(Long version) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_DELETED_AT
public static final String JSON_PROPERTY_DELETED_BY
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_MODIFIED_BY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NEGATED
public static final String JSON_PROPERTY_REQUIRED
public static final String JSON_PROPERTY_RULE_TYPE
public static final String JSON_PROPERTY_SCOPE
public static final String JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_TAG_KEY
public static final String JSON_PROPERTY_TAG_VALUE_PATTERNS
public static final String JSON_PROPERTY_VERSION
public TagRuleAttributes()
public TagRuleAttributes(OffsetDateTime createdAt, String createdBy, Boolean enabled, OffsetDateTime modifiedAt, String modifiedBy, String name, Boolean negated, Boolean required, TagRuleType ruleType, String scope, TagRuleSource source, String tagKey, List<String> tagValuePatterns, Long version)
public TagRuleAttributes createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public TagRuleAttributes createdBy(String createdBy)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public TagRuleAttributes deletedAt(OffsetDateTime deletedAt)
@Nullable public OffsetDateTime getDeletedAt()
null if the rule has
not been deleted. Only present when include_deleted=true is requested.public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getDeletedAt_JsonNullable()
public void setDeletedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> deletedAt)
public void setDeletedAt(OffsetDateTime deletedAt)
public TagRuleAttributes deletedBy(String deletedBy)
@Nullable public String getDeletedBy()
null if the rule has not
been deleted.public org.openapitools.jackson.nullable.JsonNullable<String> getDeletedBy_JsonNullable()
public void setDeletedBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> deletedBy)
public void setDeletedBy(String deletedBy)
public TagRuleAttributes enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public TagRuleAttributes modifiedAt(OffsetDateTime modifiedAt)
public OffsetDateTime getModifiedAt()
public void setModifiedAt(OffsetDateTime modifiedAt)
public TagRuleAttributes modifiedBy(String modifiedBy)
public String getModifiedBy()
public void setModifiedBy(String modifiedBy)
public TagRuleAttributes name(String name)
public String getName()
public void setName(String name)
public TagRuleAttributes negated(Boolean negated)
public Boolean getNegated()
true, the rule matches tag values that do NOT match any of the supplied
patterns.public void setNegated(Boolean negated)
public TagRuleAttributes required(Boolean required)
public Boolean getRequired()
true, telemetry without this tag is treated as a violation.public void setRequired(Boolean required)
public TagRuleAttributes ruleType(TagRuleType ruleType)
public TagRuleType getRuleType()
blocking rejects telemetry that violates the rule.
surfacing only highlights non-compliant telemetry without blocking it.public void setRuleType(TagRuleType ruleType)
public TagRuleAttributes scope(String scope)
public String getScope()
public void setScope(String scope)
public TagRuleAttributes source(TagRuleSource source)
public TagRuleSource getSource()
public void setSource(TagRuleSource source)
public TagRuleAttributes tagKey(String tagKey)
public String getTagKey()
public void setTagKey(String tagKey)
public TagRuleAttributes tagValuePatterns(List<String> tagValuePatterns)
public TagRuleAttributes addTagValuePatternsItem(String tagValuePatternsItem)
public List<String> getTagValuePatterns()
public TagRuleAttributes version(Long version)
public Long getVersion()
public void setVersion(Long version)
public TagRuleAttributes 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 © 2026. All rights reserved.