Class CostAnomalyDismissal

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostAnomalyDismissal extends Object
Resolution metadata for an anomaly that has been dismissed.
  • Field Details

  • Constructor Details

    • CostAnomalyDismissal

      public CostAnomalyDismissal()
    • CostAnomalyDismissal

      public CostAnomalyDismissal(String cause, String dismissalId, String message, Long updatedAt, String updatedBy)
  • Method Details

    • cause

      public CostAnomalyDismissal cause(String cause)
    • getCause

      public String getCause()
      Reason the anomaly was dismissed.
      Returns:
      cause
    • setCause

      public void setCause(String cause)
    • dismissalId

      public CostAnomalyDismissal dismissalId(String dismissalId)
    • getDismissalId

      public String getDismissalId()
      Unique identifier of the dismissal record.
      Returns:
      dismissalId
    • setDismissalId

      public void setDismissalId(String dismissalId)
    • message

      public CostAnomalyDismissal message(String message)
    • getMessage

      public String getMessage()
      Optional message explaining the dismissal.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • updatedAt

      public CostAnomalyDismissal updatedAt(Long updatedAt)
    • getUpdatedAt

      public Long getUpdatedAt()
      Timestamp of the last dismissal update in Unix milliseconds.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • updatedBy

      public CostAnomalyDismissal updatedBy(String updatedBy)
    • getUpdatedBy

      public String getUpdatedBy()
      Identifier of the user that last updated the dismissal.
      Returns:
      updatedBy
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • putAdditionalProperty

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