@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagRuleData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
TagRuleData() |
TagRuleData(TagRuleAttributes attributes,
String id,
TagRuleResourceType type) |
| Modifier and Type | Method and Description |
|---|---|
TagRuleData |
attributes(TagRuleAttributes attributes) |
boolean |
equals(Object o)
Return true if this TagRuleData 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.
|
TagRuleAttributes |
getAttributes()
The attributes of a tag rule resource.
|
String |
getId()
The unique identifier of the tag rule.
|
TagRuleRelationships |
getRelationships()
Related resources for a tag rule.
|
TagRuleResourceType |
getType()
JSON:API resource type for a tag rule.
|
int |
hashCode() |
TagRuleData |
id(String id) |
TagRuleData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TagRuleData |
relationships(TagRuleRelationships relationships) |
void |
setAttributes(TagRuleAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(TagRuleRelationships relationships) |
void |
setType(TagRuleResourceType type) |
String |
toString() |
TagRuleData |
type(TagRuleResourceType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public TagRuleData()
public TagRuleData(TagRuleAttributes attributes, String id, TagRuleResourceType type)
public TagRuleData attributes(TagRuleAttributes attributes)
public TagRuleAttributes getAttributes()
public void setAttributes(TagRuleAttributes attributes)
public TagRuleData id(String id)
public String getId()
public void setId(String id)
public TagRuleData relationships(TagRuleRelationships relationships)
@Nullable public TagRuleRelationships getRelationships()
include
query parameter is supplied.public void setRelationships(TagRuleRelationships relationships)
public TagRuleData type(TagRuleResourceType type)
public TagRuleResourceType getType()
public void setType(TagRuleResourceType type)
public TagRuleData 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.