Package com.datadog.api.client.v2.model
Class AlertEventAttributes
java.lang.Object
com.datadog.api.client.v2.model.AlertEventAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AlertEventAttributes
extends Object
Alert event attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLinksItem(AlertEventAttributesLinksItem linksItem) aggregationKey(String aggregationKey) booleanReturn true if this AlertEventAttributes object is equal to o.evt(EventSystemAttributes evt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Aggregation key of the event.JSON object of custom attributes.getEvt()JSON object of event system attributes.getLinks()The links related to the event.The priority of the alert.Service that triggered the event.The status of the alert.POSIX timestamp of the event.getTitle()The title of the event.inthashCode()links(List<AlertEventAttributesLinksItem> links) priority(AlertEventAttributesPriority priority) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregationKey(String aggregationKey) voidvoidvoidvoidsetPriority(AlertEventAttributesPriority priority) voidsetService(String service) voidsetStatus(AlertEventAttributesStatus status) voidsetTimestamp(Long timestamp) voidstatus(AlertEventAttributesStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION_KEY
- See Also:
-
JSON_PROPERTY_CUSTOM
- See Also:
-
JSON_PROPERTY_EVT
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
AlertEventAttributes
public AlertEventAttributes()
-
-
Method Details
-
aggregationKey
-
getAggregationKey
Aggregation key of the event.- Returns:
- aggregationKey
-
setAggregationKey
-
custom
-
getCustom
JSON object of custom attributes.- Returns:
- custom
-
setCustom
-
evt
-
getEvt
JSON object of event system attributes.- Returns:
- evt
-
setEvt
-
links
-
addLinksItem
-
getLinks
The links related to the event.- Returns:
- links
-
setLinks
-
priority
-
getPriority
The priority of the alert.- Returns:
- priority
-
setPriority
-
service
-
getService
Service that triggered the event.- Returns:
- service
-
setService
-
status
-
getStatus
The status of the alert.- Returns:
- status
-
setStatus
-
timestamp
-
getTimestamp
POSIX timestamp of the event.- Returns:
- timestamp
-
setTimestamp
-
title
-
getTitle
The title of the event.- Returns:
- title
-
setTitle
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- AlertEventAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this AlertEventAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-