Class CaseInsight

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseInsight extends Object
A reference to an external Datadog resource that provides investigative context for a case, such as a security signal, monitor alert, error tracking issue, or incident.
  • Field Details

  • Constructor Details

  • Method Details

    • ref

      public CaseInsight ref(String ref)
    • getRef

      public String getRef()
      The URL path or deep link to the insight resource within Datadog (for example, /monitors/12345?q=total).
      Returns:
      ref
    • setRef

      public void setRef(String ref)
    • resourceId

      public CaseInsight resourceId(String resourceId)
    • getResourceId

      public String getResourceId()
      The unique identifier of the referenced Datadog resource (for example, a monitor ID, incident ID, or signal ID).
      Returns:
      resourceId
    • setResourceId

      public void setResourceId(String resourceId)
    • type

      public CaseInsight type(CaseInsightType type)
    • getType

      public CaseInsightType getType()
      The type of Datadog resource linked to the case as contextual evidence. Each type corresponds to a different Datadog product signal (for example, a security finding, a monitor alert, or an incident).
      Returns:
      type
    • setType

      public void setType(CaseInsightType type)
    • putAdditionalProperty

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