Package com.datadog.api.client.v2.model
Class IncidentNotificationRuleAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentNotificationRuleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentNotificationRuleAttributes
extends Object
The notification rule's attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIncidentNotificationRuleAttributes(List<IncidentNotificationRuleConditionsItems> conditions, OffsetDateTime created, Boolean enabled, List<String> handles, OffsetDateTime modified, String trigger, IncidentNotificationRuleAttributesVisibility visibility) -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(IncidentNotificationRuleConditionsItems conditionsItem) addHandlesItem(String handlesItem) addRenotifyOnItem(String renotifyOnItem) conditions(List<IncidentNotificationRuleConditionsItems> conditions) booleanReturn true if this IncidentNotificationRuleAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The conditions that trigger this notification rule.Timestamp when the notification rule was created.Whether the notification rule is enabled.The notification handles (targets) for this rule.Timestamp when the notification rule was last modified.List of incident fields that trigger re-notification when changed.The trigger event for this notification rule.The visibility of the notification rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.renotifyOn(List<String> renotifyOn) voidsetConditions(List<IncidentNotificationRuleConditionsItems> conditions) voidsetEnabled(Boolean enabled) voidsetHandles(List<String> handles) voidsetRenotifyOn(List<String> renotifyOn) voidsetTrigger(String trigger) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_HANDLES
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_RENOTIFY_ON
- See Also:
-
JSON_PROPERTY_TRIGGER
- See Also:
-
JSON_PROPERTY_VISIBILITY
- See Also:
-
-
Constructor Details
-
IncidentNotificationRuleAttributes
public IncidentNotificationRuleAttributes() -
IncidentNotificationRuleAttributes
public IncidentNotificationRuleAttributes(List<IncidentNotificationRuleConditionsItems> conditions, OffsetDateTime created, Boolean enabled, List<String> handles, OffsetDateTime modified, String trigger, IncidentNotificationRuleAttributesVisibility visibility)
-
-
Method Details
-
conditions
public IncidentNotificationRuleAttributes conditions(List<IncidentNotificationRuleConditionsItems> conditions) -
addConditionsItem
public IncidentNotificationRuleAttributes addConditionsItem(IncidentNotificationRuleConditionsItems conditionsItem) -
getConditions
The conditions that trigger this notification rule.- Returns:
- conditions
-
setConditions
-
getCreated
Timestamp when the notification rule was created.- Returns:
- created
-
enabled
-
getEnabled
Whether the notification rule is enabled.- Returns:
- enabled
-
setEnabled
-
handles
-
addHandlesItem
-
getHandles
The notification handles (targets) for this rule.- Returns:
- handles
-
setHandles
-
getModified
Timestamp when the notification rule was last modified.- Returns:
- modified
-
renotifyOn
-
addRenotifyOnItem
-
getRenotifyOn
List of incident fields that trigger re-notification when changed.- Returns:
- renotifyOn
-
setRenotifyOn
-
trigger
-
getTrigger
The trigger event for this notification rule.- Returns:
- trigger
-
setTrigger
-
visibility
public IncidentNotificationRuleAttributes visibility(IncidentNotificationRuleAttributesVisibility visibility) -
getVisibility
The visibility of the notification rule.- Returns:
- visibility
-
setVisibility
-
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:
- IncidentNotificationRuleAttributes
-
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 IncidentNotificationRuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-