Package com.datadog.api.client.v2.model
Class ChangeEventCustomAttributes
java.lang.Object
com.datadog.api.client.v2.model.ChangeEventCustomAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ChangeEventCustomAttributes
extends Object
Change event attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChangeEventCustomAttributes(ChangeEventCustomAttributesChangedResource changedResource) -
Method Summary
Modifier and TypeMethodDescriptionaddImpactedResourcesItem(ChangeEventCustomAttributesImpactedResourcesItems impactedResourcesItem) changedResource(ChangeEventCustomAttributesChangedResource changedResource) changeMetadata(Map<String, Object> changeMetadata) booleanReturn true if this ChangeEventCustomAttributes object is equal to o.The entity that made the change.A uniquely identified resource.Free form JSON object with information related to thechangeevent.A list of resources impacted by this change.Free form JSON object representing the new state of the changed resource.Free form JSON object representing the previous state of the changed resource.inthashCode()impactedResources(List<ChangeEventCustomAttributesImpactedResourcesItems> impactedResources) putChangeMetadataItem(String key, Object changeMetadataItem) putNewValueItem(String key, Object newValueItem) putPrevValueItem(String key, Object prevValueItem) voidvoidsetChangedResource(ChangeEventCustomAttributesChangedResource changedResource) voidsetChangeMetadata(Map<String, Object> changeMetadata) voidsetImpactedResources(List<ChangeEventCustomAttributesImpactedResourcesItems> impactedResources) voidsetNewValue(Map<String, Object> newValue) voidsetPrevValue(Map<String, Object> prevValue) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CHANGE_METADATA
- See Also:
-
JSON_PROPERTY_CHANGED_RESOURCE
- See Also:
-
JSON_PROPERTY_IMPACTED_RESOURCES
- See Also:
-
JSON_PROPERTY_NEW_VALUE
- See Also:
-
JSON_PROPERTY_PREV_VALUE
- See Also:
-
-
Constructor Details
-
ChangeEventCustomAttributes
public ChangeEventCustomAttributes() -
ChangeEventCustomAttributes
-
-
Method Details
-
author
-
getAuthor
The entity that made the change. Optional, if provided it must includetypeandname.- Returns:
- author
-
setAuthor
-
changeMetadata
-
putChangeMetadataItem
-
getChangeMetadata
Free form JSON object with information related to thechangeevent. Supports up to 100 properties per object and a maximum nesting depth of 10 levels.- Returns:
- changeMetadata
-
setChangeMetadata
-
changedResource
public ChangeEventCustomAttributes changedResource(ChangeEventCustomAttributesChangedResource changedResource) -
getChangedResource
A uniquely identified resource.- Returns:
- changedResource
-
setChangedResource
-
impactedResources
public ChangeEventCustomAttributes impactedResources(List<ChangeEventCustomAttributesImpactedResourcesItems> impactedResources) -
addImpactedResourcesItem
public ChangeEventCustomAttributes addImpactedResourcesItem(ChangeEventCustomAttributesImpactedResourcesItems impactedResourcesItem) -
getImpactedResources
A list of resources impacted by this change. It is recommended to provide an impacted resource to display the change event at the correct location. Only resources of typeserviceare supported. Maximum of 100 impacted resources allowed.- Returns:
- impactedResources
-
setImpactedResources
public void setImpactedResources(List<ChangeEventCustomAttributesImpactedResourcesItems> impactedResources) -
newValue
-
putNewValueItem
-
getNewValue
Free form JSON object representing the new state of the changed resource.- Returns:
- newValue
-
setNewValue
-
prevValue
-
putPrevValueItem
-
getPrevValue
Free form JSON object representing the previous state of the changed resource.- Returns:
- prevValue
-
setPrevValue
-
equals
Return true if this ChangeEventCustomAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-