Class MonitorStateGroup

java.lang.Object
com.datadog.api.client.v1.model.MonitorStateGroup

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorStateGroup extends Object
Monitor state for a single group.
  • Field Details

  • Constructor Details

    • MonitorStateGroup

      public MonitorStateGroup()
  • Method Details

    • lastNodataTs

      public MonitorStateGroup lastNodataTs(Long lastNodataTs)
    • getLastNodataTs

      @Nullable public Long getLastNodataTs()
      Latest timestamp the monitor was in NO_DATA state.
      Returns:
      lastNodataTs
    • setLastNodataTs

      public void setLastNodataTs(Long lastNodataTs)
    • lastNotifiedTs

      public MonitorStateGroup lastNotifiedTs(Long lastNotifiedTs)
    • getLastNotifiedTs

      @Nullable public Long getLastNotifiedTs()
      Latest timestamp of the notification sent for this monitor group.
      Returns:
      lastNotifiedTs
    • setLastNotifiedTs

      public void setLastNotifiedTs(Long lastNotifiedTs)
    • lastResolvedTs

      public MonitorStateGroup lastResolvedTs(Long lastResolvedTs)
    • getLastResolvedTs

      @Nullable public Long getLastResolvedTs()
      Latest timestamp the monitor group was resolved.
      Returns:
      lastResolvedTs
    • setLastResolvedTs

      public void setLastResolvedTs(Long lastResolvedTs)
    • lastTriggeredTs

      public MonitorStateGroup lastTriggeredTs(Long lastTriggeredTs)
    • getLastTriggeredTs

      @Nullable public Long getLastTriggeredTs()
      Latest timestamp the monitor group triggered.
      Returns:
      lastTriggeredTs
    • setLastTriggeredTs

      public void setLastTriggeredTs(Long lastTriggeredTs)
    • name

      public MonitorStateGroup name(String name)
    • getName

      @Nullable public String getName()
      The name of the monitor.
      Returns:
      name
    • setName

      public void setName(String name)
    • getStatus

      @Nullable public MonitorOverallStates getStatus()
      The different states your monitor can be in.
      Returns:
      status
    • putAdditionalProperty

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