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 Details

  • Constructor Details

    • AuditLogsEventAttributes

      public AuditLogsEventAttributes()
  • Method Details

    • attributes

      public AuditLogsEventAttributes attributes(Map<String,Object> attributes)
    • putAttributesItem

      public AuditLogsEventAttributes putAttributesItem(String key, Object attributesItem)
    • getAttributes

      @Nullable public Map<String,Object> getAttributes()
      JSON object of attributes from Audit Logs events.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • message

      public AuditLogsEventAttributes message(String message)
    • getMessage

      @Nullable public String getMessage()
      Message of the event.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • service

      public AuditLogsEventAttributes service(String service)
    • getService

      @Nullable public String 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

      public void setService(String service)
    • tags

      public AuditLogsEventAttributes tags(List<String> tags)
    • addTagsItem

      public AuditLogsEventAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Array of tags associated with your event.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • timestamp

      public AuditLogsEventAttributes timestamp(OffsetDateTime timestamp)
    • getTimestamp

      @Nullable public OffsetDateTime getTimestamp()
      Timestamp of your event.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(OffsetDateTime timestamp)
    • putAdditionalProperty

      public AuditLogsEventAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      AuditLogsEventAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this AuditLogsEventAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object