@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorStateGroup extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_LAST_NODATA_TS |
static String |
JSON_PROPERTY_LAST_NOTIFIED_TS |
static String |
JSON_PROPERTY_LAST_RESOLVED_TS |
static String |
JSON_PROPERTY_LAST_TRIGGERED_TS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_STATUS |
boolean |
unparsed |
| Constructor and Description |
|---|
MonitorStateGroup() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this MonitorStateGroup object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getLastNodataTs()
Latest timestamp the monitor was in NO_DATA state.
|
Long |
getLastNotifiedTs()
Latest timestamp of the notification sent for this monitor group.
|
Long |
getLastResolvedTs()
Latest timestamp the monitor group was resolved.
|
Long |
getLastTriggeredTs()
Latest timestamp the monitor group triggered.
|
String |
getName()
The name of the monitor.
|
MonitorOverallStates |
getStatus()
The different states your monitor can be in.
|
int |
hashCode() |
MonitorStateGroup |
lastNodataTs(Long lastNodataTs) |
MonitorStateGroup |
lastNotifiedTs(Long lastNotifiedTs) |
MonitorStateGroup |
lastResolvedTs(Long lastResolvedTs) |
MonitorStateGroup |
lastTriggeredTs(Long lastTriggeredTs) |
MonitorStateGroup |
name(String name) |
MonitorStateGroup |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setLastNodataTs(Long lastNodataTs) |
void |
setLastNotifiedTs(Long lastNotifiedTs) |
void |
setLastResolvedTs(Long lastResolvedTs) |
void |
setLastTriggeredTs(Long lastTriggeredTs) |
void |
setName(String name) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_LAST_NODATA_TS
public static final String JSON_PROPERTY_LAST_NOTIFIED_TS
public static final String JSON_PROPERTY_LAST_RESOLVED_TS
public static final String JSON_PROPERTY_LAST_TRIGGERED_TS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_STATUS
public MonitorStateGroup lastNodataTs(Long lastNodataTs)
@Nullable public Long getLastNodataTs()
public void setLastNodataTs(Long lastNodataTs)
public MonitorStateGroup lastNotifiedTs(Long lastNotifiedTs)
@Nullable public Long getLastNotifiedTs()
public void setLastNotifiedTs(Long lastNotifiedTs)
public MonitorStateGroup lastResolvedTs(Long lastResolvedTs)
@Nullable public Long getLastResolvedTs()
public void setLastResolvedTs(Long lastResolvedTs)
public MonitorStateGroup lastTriggeredTs(Long lastTriggeredTs)
@Nullable public Long getLastTriggeredTs()
public void setLastTriggeredTs(Long lastTriggeredTs)
public MonitorStateGroup name(String name)
@Nullable public String getName()
public void setName(String name)
@Nullable public MonitorOverallStates getStatus()
public MonitorStateGroup putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.