Package com.datadog.api.client.v2.model
Class AutomationRuleTrigger
java.lang.Object
com.datadog.api.client.v2.model.AutomationRuleTrigger
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AutomationRuleTrigger
extends Object
Defines when the rule activates. Combines a trigger type (the case event to listen for) with
optional trigger data (conditions that narrow when the trigger fires).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this AutomationRuleTrigger object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Additional configuration for the trigger, dependent on the trigger type.getType()The case event that activates the automation rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
AutomationRuleTrigger
public AutomationRuleTrigger() -
AutomationRuleTrigger
-
-
Method Details
-
data
-
getData
Additional configuration for the trigger, dependent on the trigger type. ForSTATUS_TRANSITIONEDtriggers, specifyfrom_status_nameandto_status_name. ForATTRIBUTE_VALUE_CHANGEDtriggers, specifyfieldandchange_type.- Returns:
- data
-
setData
-
type
-
getType
The case event that activates the automation rule.- Returns:
- type
-
setType
-
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:
- AutomationRuleTrigger
-
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 AutomationRuleTrigger object is equal to o. -
hashCode
public int hashCode() -
toString
-