Package com.datadog.api.client.v2.model
Class EventPayload
java.lang.Object
com.datadog.api.client.v2.model.EventPayload
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EventPayload
extends Object
Event attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEventPayload(EventPayloadAttributes attributes, EventCategory category, String title) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) aggregationKey(String aggregationKey) attributes(EventPayloadAttributes attributes) category(EventCategory category) booleanReturn true if this EventPayload object is equal to o.A string used for aggregation when correlating events.JSON object for category-specific attributes.Event category identifying the type of event.getHost()Host name to associate with the event.Integration ID sourced from integration manifests.Free formed text associated with the event.getTags()A list of tags associated with the event.Timestamp when the event occurred.getTitle()The title of the event.inthashCode()integrationId(EventPayloadIntegrationId integrationId) voidsetAggregationKey(String aggregationKey) voidsetAttributes(EventPayloadAttributes attributes) voidsetCategory(EventCategory category) voidvoidsetIntegrationId(EventPayloadIntegrationId integrationId) voidsetMessage(String message) voidvoidsetTimestamp(String timestamp) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION_KEY
- See Also:
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_HOST
- See Also:
-
JSON_PROPERTY_INTEGRATION_ID
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
EventPayload
public EventPayload() -
EventPayload
-
-
Method Details
-
aggregationKey
-
getAggregationKey
A string used for aggregation when correlating events. If you specify a key, events are deduplicated to alerts based on this key. Limited to 100 characters.- Returns:
- aggregationKey
-
setAggregationKey
-
attributes
-
getAttributes
JSON object for category-specific attributes. Schema is different per event category.- Returns:
- attributes
-
setAttributes
-
category
-
getCategory
Event category identifying the type of event.- Returns:
- category
-
setCategory
-
host
-
getHost
Host name to associate with the event. Any tags associated with the host are also applied to this event. Limited to 255 characters.- Returns:
- host
-
setHost
-
integrationId
-
getIntegrationId
Integration ID sourced from integration manifests.- Returns:
- integrationId
-
setIntegrationId
-
message
-
getMessage
Free formed text associated with the event. It's suggested to usedata.attributes.attributes.customfor well-structured attributes. Limited to 4000 characters.- Returns:
- message
-
setMessage
-
tags
-
addTagsItem
-
getTags
A list of tags associated with the event. Maximum of 100 tags allowed. Refer to Tags docs.- Returns:
- tags
-
setTags
-
timestamp
-
getTimestamp
Timestamp when the event occurred. Must follow ISO 8601 format. For example"2017-01-15T01:30:15.010000Z". Defaults to the timestamp of receipt. Limited to values no older than 18 hours.- Returns:
- timestamp
-
setTimestamp
-
title
-
getTitle
The title of the event. Limited to 500 characters.- Returns:
- title
-
setTitle
-
equals
Return true if this EventPayload object is equal to o. -
hashCode
public int hashCode() -
toString
-