Package com.datadog.api.client.v2.model
Class MonitorNotificationRuleResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.MonitorNotificationRuleResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorNotificationRuleResponseAttributes
extends Object
Attributes of the monitor notification rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRecipientsItem(String recipientsItem) bundleConfig(MonitorNotificationRuleBundleConfig bundleConfig) conditionalRecipients(MonitorNotificationRuleConditionalRecipients conditionalRecipients) created(OffsetDateTime created) booleanReturn true if this MonitorNotificationRuleResponseAttributes object is equal to o.filter(MonitorNotificationRuleFilter filter) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Use bundle config to enable alert bundling to reduce monitor signal noises.Use conditional recipients to define different recipients for different situations.Creation time of the monitor notification rule.Specifies the matching criteria for monitor notifications.Time the monitor notification rule was last modified.getName()The name of the monitor notification rule.A list of recipients to notify.inthashCode()modified(OffsetDateTime modified) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recipients(List<String> recipients) voidsetBundleConfig(MonitorNotificationRuleBundleConfig bundleConfig) voidsetConditionalRecipients(MonitorNotificationRuleConditionalRecipients conditionalRecipients) voidsetCreated(OffsetDateTime created) voidvoidsetModified(OffsetDateTime modified) voidvoidsetRecipients(List<String> recipients) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUNDLE_CONFIG
- See Also:
-
JSON_PROPERTY_CONDITIONAL_RECIPIENTS
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RECIPIENTS
- See Also:
-
-
Constructor Details
-
MonitorNotificationRuleResponseAttributes
public MonitorNotificationRuleResponseAttributes()
-
-
Method Details
-
bundleConfig
public MonitorNotificationRuleResponseAttributes bundleConfig(MonitorNotificationRuleBundleConfig bundleConfig) -
getBundleConfig
Use bundle config to enable alert bundling to reduce monitor signal noises. Note: This feature is in preview and is subject to change. If you have any feedback, contact Datadog support.- Returns:
- bundleConfig
-
setBundleConfig
-
conditionalRecipients
public MonitorNotificationRuleResponseAttributes conditionalRecipients(MonitorNotificationRuleConditionalRecipients conditionalRecipients) -
getConditionalRecipients
Use conditional recipients to define different recipients for different situations. Cannot be used withrecipients.- Returns:
- conditionalRecipients
-
setConditionalRecipients
public void setConditionalRecipients(MonitorNotificationRuleConditionalRecipients conditionalRecipients) -
created
-
getCreated
Creation time of the monitor notification rule.- Returns:
- created
-
setCreated
-
filter
-
getFilter
Specifies the matching criteria for monitor notifications.- Returns:
- filter
-
setFilter
-
modified
-
getModified
Time the monitor notification rule was last modified.- Returns:
- modified
-
setModified
-
name
-
getName
The name of the monitor notification rule.- Returns:
- name
-
setName
-
recipients
-
addRecipientsItem
-
getRecipients
A list of recipients to notify. Uses the same format as the monitormessagefield. Must not start with an '@'. Cannot be used withconditional_recipients.- Returns:
- recipients
-
setRecipients
-
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:
- MonitorNotificationRuleResponseAttributes
-
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 MonitorNotificationRuleResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-