@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SimpleMonitorUserTemplate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_MONITOR_DEFINITION |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TEMPLATE_VARIABLES |
static String |
JSON_PROPERTY_TITLE |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
SimpleMonitorUserTemplate() |
| Modifier and Type | Method and Description |
|---|---|
SimpleMonitorUserTemplate |
addTagsItem(String tagsItem) |
SimpleMonitorUserTemplate |
addTemplateVariablesItem(MonitorUserTemplateTemplateVariablesItems templateVariablesItem) |
SimpleMonitorUserTemplate |
description(String description) |
boolean |
equals(Object o)
Return true if this SimpleMonitorUserTemplate 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.
|
OffsetDateTime |
getCreated()
The created timestamp of the template.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getDescription_JsonNullable() |
String |
getDescription()
A brief description of the monitor user template.
|
String |
getId()
The unique identifier.
|
Map<String,Object> |
getMonitorDefinition()
A valid monitor definition in the same format as the V1 Monitor API.
|
List<String> |
getTags()
The definition of
MonitorUserTemplateTags object. |
List<MonitorUserTemplateTemplateVariablesItems> |
getTemplateVariables()
The definition of
MonitorUserTemplateTemplateVariables object. |
String |
getTitle()
The title of the monitor user template.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getVersion_JsonNullable() |
Long |
getVersion()
The version of the monitor user template.
|
int |
hashCode() |
SimpleMonitorUserTemplate |
id(String id) |
SimpleMonitorUserTemplate |
monitorDefinition(Map<String,Object> monitorDefinition) |
SimpleMonitorUserTemplate |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SimpleMonitorUserTemplate |
putMonitorDefinitionItem(String key,
Object monitorDefinitionItem) |
void |
setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setMonitorDefinition(Map<String,Object> monitorDefinition) |
void |
setTags(List<String> tags) |
void |
setTemplateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) |
void |
setTitle(String title) |
SimpleMonitorUserTemplate |
tags(List<String> tags) |
SimpleMonitorUserTemplate |
templateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables) |
SimpleMonitorUserTemplate |
title(String title) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_MONITOR_DEFINITION
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TEMPLATE_VARIABLES
public static final String JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_VERSION
@Nullable public OffsetDateTime getCreated()
public SimpleMonitorUserTemplate description(String description)
@Nullable public String getDescription()
public org.openapitools.jackson.nullable.JsonNullable<String> getDescription_JsonNullable()
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description)
public void setDescription(String description)
public SimpleMonitorUserTemplate id(String id)
@Nullable public String getId()
public void setId(String id)
public SimpleMonitorUserTemplate monitorDefinition(Map<String,Object> monitorDefinition)
public SimpleMonitorUserTemplate putMonitorDefinitionItem(String key, Object monitorDefinitionItem)
@Nullable public Map<String,Object> getMonitorDefinition()
public SimpleMonitorUserTemplate tags(List<String> tags)
public SimpleMonitorUserTemplate addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
MonitorUserTemplateTags object.public SimpleMonitorUserTemplate templateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables)
public SimpleMonitorUserTemplate addTemplateVariablesItem(MonitorUserTemplateTemplateVariablesItems templateVariablesItem)
@Nullable public List<MonitorUserTemplateTemplateVariablesItems> getTemplateVariables()
MonitorUserTemplateTemplateVariables object.public void setTemplateVariables(List<MonitorUserTemplateTemplateVariablesItems> templateVariables)
public SimpleMonitorUserTemplate title(String title)
@Nullable public String getTitle()
public void setTitle(String title)
@Nullable public Long getVersion()
public org.openapitools.jackson.nullable.JsonNullable<Long> getVersion_JsonNullable()
public SimpleMonitorUserTemplate 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 © 2025. All rights reserved.