Class EntityContextRevision

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EntityContextRevision extends Object
A single historical revision of an entity, including the time range during which the revision was observed.
  • Field Details

  • Constructor Details

  • Method Details

    • attributes

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

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

      public Map<String,Object> getAttributes()
      The set of attributes recorded for the entity at this revision. The keys depend on the kind of entity.
      Returns:
      attributes
    • setAttributes

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

      public EntityContextRevision firstSeenAt(OffsetDateTime firstSeenAt)
    • getFirstSeenAt

      public OffsetDateTime getFirstSeenAt()
      The first time the entity was observed at this revision.
      Returns:
      firstSeenAt
    • setFirstSeenAt

      public void setFirstSeenAt(OffsetDateTime firstSeenAt)
    • lastSeenAt

      public EntityContextRevision lastSeenAt(OffsetDateTime lastSeenAt)
    • getLastSeenAt

      public OffsetDateTime getLastSeenAt()
      The last time the entity was observed at this revision.
      Returns:
      lastSeenAt
    • setLastSeenAt

      public void setLastSeenAt(OffsetDateTime lastSeenAt)
    • putAdditionalProperty

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