Class MonitorAlertTriggerAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorAlertTriggerAttributes extends Object
Attributes for a monitor alert trigger.
  • Field Details

  • Constructor Details

    • MonitorAlertTriggerAttributes

      public MonitorAlertTriggerAttributes()
    • MonitorAlertTriggerAttributes

      public MonitorAlertTriggerAttributes(String eventId, Long eventTs, Long monitorId)
  • Method Details

    • eventId

      public MonitorAlertTriggerAttributes eventId(String eventId)
    • getEventId

      public String getEventId()
      The event ID associated with the monitor alert.
      Returns:
      eventId
    • setEventId

      public void setEventId(String eventId)
    • eventTs

      public MonitorAlertTriggerAttributes eventTs(Long eventTs)
    • getEventTs

      public Long getEventTs()
      The timestamp of the event in Unix milliseconds.
      Returns:
      eventTs
    • setEventTs

      public void setEventTs(Long eventTs)
    • monitorId

      public MonitorAlertTriggerAttributes monitorId(Long monitorId)
    • getMonitorId

      public Long getMonitorId()
      The monitor ID that triggered the alert.
      Returns:
      monitorId
    • setMonitorId

      public void setMonitorId(Long monitorId)
    • putAdditionalProperty

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