Class V2EventAttributes

java.lang.Object
com.datadog.api.client.v2.model.V2EventAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class V2EventAttributes extends Object
Event attributes.
  • Field Details

  • Constructor Details

    • V2EventAttributes

      public V2EventAttributes()
  • Method Details

    • attributes

      public V2EventAttributes attributes(V2EventAttributesAttributes attributes)
    • getAttributes

      @Nullable public V2EventAttributesAttributes getAttributes()
      JSON object for category-specific attributes.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(V2EventAttributesAttributes attributes)
    • message

      public V2EventAttributes message(String message)
    • getMessage

      @Nullable public String getMessage()
      Free-form text associated with the event.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • tags

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

      public V2EventAttributes addTagsItem(String tagsItem)
    • getTags

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

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

      public V2EventAttributes timestamp(String timestamp)
    • getTimestamp

      @Nullable public String getTimestamp()
      Timestamp when the event occurred.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(String timestamp)
    • putAdditionalProperty

      public V2EventAttributes 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:
      V2EventAttributes
    • 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 V2EventAttributes 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