Package com.datadog.api.client.v2.model
Class AutomationRuleAction
java.lang.Object
com.datadog.api.client.v2.model.AutomationRuleAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class AutomationRuleAction
extends Object
Defines what happens when the rule triggers. Combines an action type with action-specific
configuration data.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiondata(AutomationRuleActionData data) booleanReturn true if this AutomationRuleAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Configuration for the action to execute, dependent on the action type.getType()The type of automated action to perform when the rule triggers.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()type(AutomationRuleActionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
AutomationRuleAction
public AutomationRuleAction() -
AutomationRuleAction
-
-
Method Details
-
data
-
getData
Configuration for the action to execute, dependent on the action type.- Returns:
- data
-
setData
-
type
-
getType
The type of automated action to perform when the rule triggers.EXECUTE_WORKFLOWruns a Datadog workflow;ASSIGN_AGENTassigns an AI agent to the case.- 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:
- AutomationRuleAction
-
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 AutomationRuleAction object is equal to o. -
hashCode
public int hashCode() -
toString
-