Package com.datadog.api.client.v2.model
Class ChangeEventAttributes
java.lang.Object
com.datadog.api.client.v2.model.ChangeEventAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ChangeEventAttributes
extends Object
Change event attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddImpactedResourcesItem(ChangeEventAttributesImpactedResourcesItem impactedResourcesItem) aggregationKey(String aggregationKey) author(ChangeEventAttributesAuthor author) changedResource(ChangeEventAttributesChangedResource changedResource) changeMetadata(Object changeMetadata) booleanReturn true if this ChangeEventAttributes 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.The entity that made the change.A uniquely identified resource.JSON object of change metadata.getEvt()JSON object of event system attributes.A list of resources impacted by this change.The new state of the changed resource.The previous state of the changed resource.Service that triggered the event.POSIX timestamp of the event.getTitle()The title of the event.inthashCode()impactedResources(List<ChangeEventAttributesImpactedResourcesItem> impactedResources) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregationKey(String aggregationKey) voidsetAuthor(ChangeEventAttributesAuthor author) voidsetChangedResource(ChangeEventAttributesChangedResource changedResource) voidsetChangeMetadata(Object changeMetadata) voidvoidsetImpactedResources(List<ChangeEventAttributesImpactedResourcesItem> impactedResources) voidsetNewValue(Object newValue) voidsetPrevValue(Object prevValue) voidsetService(String service) voidsetTimestamp(Long timestamp) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION_KEY
- See Also:
-
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CHANGE_METADATA
- See Also:
-
JSON_PROPERTY_CHANGED_RESOURCE
- See Also:
-
JSON_PROPERTY_EVT
- See Also:
-
JSON_PROPERTY_IMPACTED_RESOURCES
- See Also:
-
JSON_PROPERTY_NEW_VALUE
- See Also:
-
JSON_PROPERTY_PREV_VALUE
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
ChangeEventAttributes
public ChangeEventAttributes()
-
-
Method Details
-
aggregationKey
-
getAggregationKey
Aggregation key of the event.- Returns:
- aggregationKey
-
setAggregationKey
-
author
-
getAuthor
The entity that made the change.- Returns:
- author
-
setAuthor
-
changeMetadata
-
getChangeMetadata
JSON object of change metadata.- Returns:
- changeMetadata
-
setChangeMetadata
-
changedResource
-
getChangedResource
A uniquely identified resource.- Returns:
- changedResource
-
setChangedResource
-
evt
-
getEvt
JSON object of event system attributes.- Returns:
- evt
-
setEvt
-
impactedResources
public ChangeEventAttributes impactedResources(List<ChangeEventAttributesImpactedResourcesItem> impactedResources) -
addImpactedResourcesItem
public ChangeEventAttributes addImpactedResourcesItem(ChangeEventAttributesImpactedResourcesItem impactedResourcesItem) -
getImpactedResources
A list of resources impacted by this change.- Returns:
- impactedResources
-
setImpactedResources
public void setImpactedResources(List<ChangeEventAttributesImpactedResourcesItem> impactedResources) -
newValue
-
getNewValue
The new state of the changed resource.- Returns:
- newValue
-
setNewValue
-
prevValue
-
getPrevValue
The previous state of the changed resource.- Returns:
- prevValue
-
setPrevValue
-
service
-
getService
Service that triggered the event.- Returns:
- service
-
setService
-
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:
- ChangeEventAttributes
-
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 ChangeEventAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-