@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorType extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_GROUP_STATUS |
static String |
JSON_PROPERTY_GROUPS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_MODIFIED |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TEMPLATED_NAME |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
MonitorType() |
| Modifier and Type | Method and Description |
|---|---|
MonitorType |
addGroupsItem(String groupsItem) |
MonitorType |
addTagsItem(String tagsItem) |
MonitorType |
createdAt(Long createdAt) |
boolean |
equals(Object o)
Return true if this MonitorType 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 |
getCreatedAt()
The POSIX timestamp of the monitor's creation in nanoseconds.
|
List<String> |
getGroups()
Groups to which the monitor belongs.
|
Integer |
getGroupStatus()
Monitor group status used when there is no
result_groups. |
Long |
getId()
The monitor ID.
|
String |
getMessage()
The monitor message.
|
Long |
getModified()
The monitor's last-modified timestamp.
|
String |
getName()
The monitor name.
|
String |
getQuery()
The query that triggers the alert.
|
List<String> |
getTags()
A list of tags attached to the monitor.
|
String |
getTemplatedName()
The templated name of the monitor before resolving any template variables.
|
String |
getType()
The monitor type.
|
MonitorType |
groups(List<String> groups) |
MonitorType |
groupStatus(Integer groupStatus) |
int |
hashCode() |
MonitorType |
id(Long id) |
MonitorType |
message(String message) |
MonitorType |
modified(Long modified) |
MonitorType |
name(String name) |
MonitorType |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MonitorType |
query(String query) |
void |
setCreatedAt(Long createdAt) |
void |
setGroups(List<String> groups) |
void |
setGroupStatus(Integer groupStatus) |
void |
setId(Long id) |
void |
setMessage(String message) |
void |
setModified(Long modified) |
void |
setName(String name) |
void |
setQuery(String query) |
void |
setTags(List<String> tags) |
void |
setTemplatedName(String templatedName) |
void |
setType(String type) |
MonitorType |
tags(List<String> tags) |
MonitorType |
templatedName(String templatedName) |
String |
toString() |
MonitorType |
type(String type) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_GROUP_STATUS
public static final String JSON_PROPERTY_GROUPS
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MODIFIED
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TEMPLATED_NAME
public static final String JSON_PROPERTY_TYPE
public MonitorType createdAt(Long createdAt)
@Nullable public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
public MonitorType groupStatus(Integer groupStatus)
@Nullable public Integer getGroupStatus()
result_groups. maximum: 2147483647public void setGroupStatus(Integer groupStatus)
public MonitorType groups(List<String> groups)
public MonitorType addGroupsItem(String groupsItem)
@Nullable public List<String> getGroups()
public MonitorType id(Long id)
@Nullable public Long getId()
public void setId(Long id)
public MonitorType message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public MonitorType modified(Long modified)
@Nullable public Long getModified()
public void setModified(Long modified)
public MonitorType name(String name)
@Nullable public String getName()
public void setName(String name)
public MonitorType query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public MonitorType tags(List<String> tags)
public MonitorType addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public MonitorType templatedName(String templatedName)
@Nullable public String getTemplatedName()
public void setTemplatedName(String templatedName)
public MonitorType type(String type)
@Nullable public String getType()
public void setType(String type)
public MonitorType 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.