Package com.datadog.api.client.v2.model
Class MonitorType
java.lang.Object
com.datadog.api.client.v2.model.MonitorType
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorType
extends Object
Attributes from the monitor that triggered the event.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupsItem(String groupsItem) addTagsItem(String tagsItem) booleanReturn true if this MonitorType object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The POSIX timestamp of the monitor's creation in nanoseconds.Groups to which the monitor belongs.Monitor group status used when there is noresult_groups.getId()The monitor ID.The monitor message.The monitor's last-modified timestamp.getName()The monitor name.getQuery()The query that triggers the alert.getTags()A list of tags attached to the monitor.The templated name of the monitor before resolving any template variables.getType()The monitor type.groupStatus(Integer groupStatus) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(Long createdAt) voidvoidsetGroupStatus(Integer groupStatus) voidvoidsetMessage(String message) voidsetModified(Long modified) voidvoidvoidvoidsetTemplatedName(String templatedName) voidtemplatedName(String templatedName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_GROUP_STATUS
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEMPLATED_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
MonitorType
public MonitorType()
-
-
Method Details
-
createdAt
-
getCreatedAt
The POSIX timestamp of the monitor's creation in nanoseconds.- Returns:
- createdAt
-
setCreatedAt
-
groupStatus
-
getGroupStatus
Monitor group status used when there is noresult_groups. maximum: 2147483647- Returns:
- groupStatus
-
setGroupStatus
-
groups
-
addGroupsItem
-
getGroups
Groups to which the monitor belongs.- Returns:
- groups
-
setGroups
-
id
-
getId
The monitor ID.- Returns:
- id
-
setId
-
message
-
getMessage
The monitor message.- Returns:
- message
-
setMessage
-
modified
-
getModified
The monitor's last-modified timestamp.- Returns:
- modified
-
setModified
-
name
-
getName
The monitor name.- Returns:
- name
-
setName
-
query
-
getQuery
The query that triggers the alert.- Returns:
- query
-
setQuery
-
tags
-
addTagsItem
-
getTags
A list of tags attached to the monitor.- Returns:
- tags
-
setTags
-
templatedName
-
getTemplatedName
The templated name of the monitor before resolving any template variables.- Returns:
- templatedName
-
setTemplatedName
-
type
-
getType
The monitor type.- Returns:
- type
-
setType
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- MonitorType
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this MonitorType object is equal to o. -
hashCode
public int hashCode() -
toString
-