Package com.datadog.api.client.v2.model
Class AuditLogsEventAttributes
java.lang.Object
com.datadog.api.client.v2.model.AuditLogsEventAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AuditLogsEventAttributes
extends Object
JSON object containing all event attributes and their associated values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) attributes(Map<String, Object> attributes) booleanReturn true if this AuditLogsEventAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.JSON object of attributes from Audit Logs events.Message of the event.Name of the application or service generating Audit Logs events.getTags()Array of tags associated with your event.Timestamp of your event.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putAttributesItem(String key, Object attributesItem) voidsetAttributes(Map<String, Object> attributes) voidsetMessage(String message) voidsetService(String service) voidvoidsetTimestamp(OffsetDateTime timestamp) timestamp(OffsetDateTime timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
AuditLogsEventAttributes
public AuditLogsEventAttributes()
-
-
Method Details
-
attributes
-
putAttributesItem
-
getAttributes
JSON object of attributes from Audit Logs events.- Returns:
- attributes
-
setAttributes
-
message
-
getMessage
Message of the event.- Returns:
- message
-
setMessage
-
service
-
getService
Name of the application or service generating Audit Logs events. This name is used to correlate Audit Logs to APM, so make sure you specify the same value when you use both products.- Returns:
- service
-
setService
-
tags
-
addTagsItem
-
getTags
Array of tags associated with your event.- Returns:
- tags
-
setTags
-
timestamp
-
getTimestamp
Timestamp of your event.- Returns:
- timestamp
-
setTimestamp
-
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:
- AuditLogsEventAttributes
-
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 AuditLogsEventAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-