@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorNotificationRuleCondition extends Object
scope (the matching condition) and
recipients (who to notify when it matches).| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_RECIPIENTS |
static String |
JSON_PROPERTY_SCOPE |
boolean |
unparsed |
| Constructor and Description |
|---|
MonitorNotificationRuleCondition() |
MonitorNotificationRuleCondition(List<String> recipients,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
MonitorNotificationRuleCondition |
addRecipientsItem(String recipientsItem) |
boolean |
equals(Object o)
Return true if this MonitorNotificationRuleCondition 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.
|
List<String> |
getRecipients()
A list of recipients to notify.
|
String |
getScope()
Defines the condition under which the recipients are notified.
|
int |
hashCode() |
MonitorNotificationRuleCondition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MonitorNotificationRuleCondition |
recipients(List<String> recipients) |
MonitorNotificationRuleCondition |
scope(String scope) |
void |
setRecipients(List<String> recipients) |
void |
setScope(String scope) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_RECIPIENTS
public static final String JSON_PROPERTY_SCOPE
public MonitorNotificationRuleCondition recipients(List<String> recipients)
public MonitorNotificationRuleCondition addRecipientsItem(String recipientsItem)
public List<String> getRecipients()
message field.
Must not start with an '@'. Cannot be used with conditional_recipients.public MonitorNotificationRuleCondition scope(String scope)
public String getScope()
transition_type:<status>, for example
transition_type:is_alert. - A single tag key:value pair, for example env:prod
.public void setScope(String scope)
public MonitorNotificationRuleCondition 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 © 2026. All rights reserved.