@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class V2EventAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TIMESTAMP |
boolean |
unparsed |
| Constructor and Description |
|---|
V2EventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
V2EventAttributes |
addTagsItem(String tagsItem) |
V2EventAttributes |
attributes(V2EventAttributesAttributes attributes) |
boolean |
equals(Object o)
Return true if this V2EventAttributes 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.
|
V2EventAttributesAttributes |
getAttributes()
JSON object for category-specific attributes.
|
String |
getMessage()
Free-form text associated with the event.
|
List<String> |
getTags()
A list of tags associated with the event.
|
String |
getTimestamp()
Timestamp when the event occurred.
|
int |
hashCode() |
V2EventAttributes |
message(String message) |
V2EventAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(V2EventAttributesAttributes attributes) |
void |
setMessage(String message) |
void |
setTags(List<String> tags) |
void |
setTimestamp(String timestamp) |
V2EventAttributes |
tags(List<String> tags) |
V2EventAttributes |
timestamp(String timestamp) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TIMESTAMP
public V2EventAttributes attributes(V2EventAttributesAttributes attributes)
@Nullable public V2EventAttributesAttributes getAttributes()
public void setAttributes(V2EventAttributesAttributes attributes)
public V2EventAttributes message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public V2EventAttributes tags(List<String> tags)
public V2EventAttributes addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public V2EventAttributes timestamp(String timestamp)
@Nullable public String getTimestamp()
public void setTimestamp(String timestamp)
public V2EventAttributes 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.