Package com.datadog.api.client.v2.model
Class MonitorNotificationRuleConditionalRecipients
java.lang.Object
com.datadog.api.client.v2.model.MonitorNotificationRuleConditionalRecipients
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorNotificationRuleConditionalRecipients
extends Object
Use conditional recipients to define different recipients for different situations. Cannot be
used with
recipients.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(MonitorNotificationRuleCondition conditionsItem) addFallbackRecipientsItem(String fallbackRecipientsItem) conditions(List<MonitorNotificationRuleCondition> conditions) booleanReturn true if this MonitorNotificationRuleConditionalRecipients object is equal to o.fallbackRecipients(List<String> fallbackRecipients) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Conditions of the notification rule.A list of recipients to notify.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConditions(List<MonitorNotificationRuleCondition> conditions) voidsetFallbackRecipients(List<String> fallbackRecipients) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_FALLBACK_RECIPIENTS
- See Also:
-
-
Constructor Details
-
MonitorNotificationRuleConditionalRecipients
public MonitorNotificationRuleConditionalRecipients() -
MonitorNotificationRuleConditionalRecipients
public MonitorNotificationRuleConditionalRecipients(List<MonitorNotificationRuleCondition> conditions)
-
-
Method Details
-
conditions
public MonitorNotificationRuleConditionalRecipients conditions(List<MonitorNotificationRuleCondition> conditions) -
addConditionsItem
public MonitorNotificationRuleConditionalRecipients addConditionsItem(MonitorNotificationRuleCondition conditionsItem) -
getConditions
Conditions of the notification rule.- Returns:
- conditions
-
setConditions
-
fallbackRecipients
public MonitorNotificationRuleConditionalRecipients fallbackRecipients(List<String> fallbackRecipients) -
addFallbackRecipientsItem
public MonitorNotificationRuleConditionalRecipients addFallbackRecipientsItem(String fallbackRecipientsItem) -
getFallbackRecipients
A list of recipients to notify. Uses the same format as the monitormessagefield. Must not start with an '@'. Cannot be used withconditional_recipients.- Returns:
- fallbackRecipients
-
setFallbackRecipients
-
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:
- MonitorNotificationRuleConditionalRecipients
-
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 MonitorNotificationRuleConditionalRecipients object is equal to o. -
hashCode
public int hashCode() -
toString
-