@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorSearchResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CLASSIFICATION |
static String |
JSON_PROPERTY_CREATOR |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_LAST_TRIGGERED_TS |
static String |
JSON_PROPERTY_METRICS |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NOTIFICATIONS |
static String |
JSON_PROPERTY_ORG_ID |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SCOPES |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
MonitorSearchResult() |
| Modifier and Type | Method and Description |
|---|---|
MonitorSearchResult |
addScopesItem(String scopesItem) |
boolean |
equals(Object o)
Return true if this MonitorSearchResult 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.
|
String |
getClassification()
Classification of the monitor.
|
Creator |
getCreator()
Object describing the creator of the shared element.
|
Long |
getId()
ID of the monitor.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getLastTriggeredTs_JsonNullable() |
Long |
getLastTriggeredTs()
Latest timestamp the monitor triggered.
|
List<String> |
getMetrics()
Metrics used by the monitor.
|
String |
getName()
The monitor name.
|
List<MonitorSearchResultNotification> |
getNotifications()
The notification triggered by the monitor.
|
Long |
getOrgId()
The ID of the organization.
|
String |
getQuery()
The monitor query.
|
List<String> |
getScopes()
The scope(s) to which the downtime applies, for example
host:app2. |
MonitorOverallStates |
getStatus()
The different states your monitor can be in.
|
List<String> |
getTags()
Tags associated with the monitor.
|
MonitorType |
getType()
The type of the monitor.
|
int |
hashCode() |
MonitorSearchResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MonitorSearchResult |
query(String query) |
MonitorSearchResult |
scopes(List<String> scopes) |
void |
setQuery(String query) |
void |
setScopes(List<String> scopes) |
void |
setType(MonitorType type) |
String |
toString() |
MonitorSearchResult |
type(MonitorType type) |
public boolean unparsed
public static final String JSON_PROPERTY_CLASSIFICATION
public static final String JSON_PROPERTY_CREATOR
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_LAST_TRIGGERED_TS
public static final String JSON_PROPERTY_METRICS
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NOTIFICATIONS
public static final String JSON_PROPERTY_ORG_ID
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SCOPES
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TYPE
@Nullable public String getClassification()
@Nullable public Creator getCreator()
@Nullable public Long getId()
@Nullable public Long getLastTriggeredTs()
public org.openapitools.jackson.nullable.JsonNullable<Long> getLastTriggeredTs_JsonNullable()
@Nullable public String getName()
@Nullable public List<MonitorSearchResultNotification> getNotifications()
@Nullable public Long getOrgId()
public MonitorSearchResult query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public MonitorSearchResult scopes(List<String> scopes)
public MonitorSearchResult addScopesItem(String scopesItem)
@Nullable public List<String> getScopes()
host:app2. Provide
multiple scopes as a comma-separated list, for example env:dev,env:prod. The
resulting downtime applies to sources that matches ALL provided scopes (that is
env:dev AND env:prod), NOT any of them.@Nullable public MonitorOverallStates getStatus()
public MonitorSearchResult type(MonitorType type)
@Nullable public MonitorType getType()
type, see the monitor options docs.public void setType(MonitorType type)
public MonitorSearchResult 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.