Class RUMEventAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RUMEventAttributes extends Object
JSON object containing all event attributes and their associated values.
  • Field Details

  • Constructor Details

    • RUMEventAttributes

      public RUMEventAttributes()
  • Method Details

    • attributes

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

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

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

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

      public RUMEventAttributes service(String service)
    • getService

      @Nullable public String getService()
      The name of the application or service generating RUM events. It is used to switch from RUM to APM, so make sure you define the same value when you use both products.
      Returns:
      service
    • setService

      public void setService(String service)
    • tags

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

      public RUMEventAttributes 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 RUMEventAttributes timestamp(OffsetDateTime timestamp)
    • getTimestamp

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

      public void setTimestamp(OffsetDateTime timestamp)
    • putAdditionalProperty

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