@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventPayload extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION_KEY |
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_CATEGORY |
static String |
JSON_PROPERTY_INTEGRATION_ID |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TIMESTAMP |
static String |
JSON_PROPERTY_TITLE |
boolean |
unparsed |
| Constructor and Description |
|---|
EventPayload() |
EventPayload(EventPayloadAttributes attributes,
EventCategory category,
String title) |
| Modifier and Type | Method and Description |
|---|---|
EventPayload |
addTagsItem(String tagsItem) |
EventPayload |
aggregationKey(String aggregationKey) |
EventPayload |
attributes(EventPayloadAttributes attributes) |
EventPayload |
category(EventCategory category) |
boolean |
equals(Object o)
Return true if this EventPayload object is equal to o.
|
String |
getAggregationKey()
A string used for aggregation when correlating
events.
|
EventPayloadAttributes |
getAttributes()
JSON object for category-specific attributes.
|
EventCategory |
getCategory()
Event category identifying the type of event.
|
EventPayloadIntegrationId |
getIntegrationId()
Integration ID sourced from integration manifests.
|
String |
getMessage()
Free formed text associated with the event.
|
List<String> |
getTags()
A list of tags associated with the event.
|
String |
getTimestamp()
Timestamp when the event occurred.
|
String |
getTitle()
The title of the event.
|
int |
hashCode() |
EventPayload |
integrationId(EventPayloadIntegrationId integrationId) |
EventPayload |
message(String message) |
void |
setAggregationKey(String aggregationKey) |
void |
setAttributes(EventPayloadAttributes attributes) |
void |
setCategory(EventCategory category) |
void |
setIntegrationId(EventPayloadIntegrationId integrationId) |
void |
setMessage(String message) |
void |
setTags(List<String> tags) |
void |
setTimestamp(String timestamp) |
void |
setTitle(String title) |
EventPayload |
tags(List<String> tags) |
EventPayload |
timestamp(String timestamp) |
EventPayload |
title(String title) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION_KEY
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_CATEGORY
public static final String JSON_PROPERTY_INTEGRATION_ID
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TIMESTAMP
public static final String JSON_PROPERTY_TITLE
public EventPayload()
public EventPayload(EventPayloadAttributes attributes, EventCategory category, String title)
public EventPayload aggregationKey(String aggregationKey)
@Nullable public String getAggregationKey()
public void setAggregationKey(String aggregationKey)
public EventPayload attributes(EventPayloadAttributes attributes)
public EventPayloadAttributes getAttributes()
public void setAttributes(EventPayloadAttributes attributes)
public EventPayload category(EventCategory category)
public EventCategory getCategory()
public void setCategory(EventCategory category)
public EventPayload integrationId(EventPayloadIntegrationId integrationId)
@Nullable public EventPayloadIntegrationId getIntegrationId()
public void setIntegrationId(EventPayloadIntegrationId integrationId)
public EventPayload message(String message)
@Nullable public String getMessage()
data.attributes.attributes.custom for well-structured attributes. Limited to 4000
characters.public void setMessage(String message)
public EventPayload tags(List<String> tags)
public EventPayload addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public EventPayload timestamp(String timestamp)
@Nullable public String getTimestamp()
"2017-01-15T01:30:15.010000Z". Defaults to the timestamp of receipt. Limited to
values no older than 18 hours.public void setTimestamp(String timestamp)
public EventPayload title(String title)
public String getTitle()
public void setTitle(String title)
public boolean equals(Object o)
Copyright © 2025. All rights reserved.