Class AutomationRuleRunPlaybookAction
java.lang.Object
com.azure.resourcemanager.securityinsights.models.AutomationRuleAction
com.azure.resourcemanager.securityinsights.models.AutomationRuleRunPlaybookAction
Describes an automation rule action to run a playbook.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the actionConfiguration property: The actionConfiguration property.void
validate()
Validates the instance.withActionConfiguration
(PlaybookActionProperties actionConfiguration) Set the actionConfiguration property: The actionConfiguration property.withOrder
(int order) Set the order property: The order property.Methods inherited from class com.azure.resourcemanager.securityinsights.models.AutomationRuleAction
order
-
Constructor Details
-
AutomationRuleRunPlaybookAction
public AutomationRuleRunPlaybookAction()
-
-
Method Details
-
actionConfiguration
Get the actionConfiguration property: The actionConfiguration property.- Returns:
- the actionConfiguration value.
-
withActionConfiguration
public AutomationRuleRunPlaybookAction withActionConfiguration(PlaybookActionProperties actionConfiguration) Set the actionConfiguration property: The actionConfiguration property.- Parameters:
actionConfiguration
- the actionConfiguration value to set.- Returns:
- the AutomationRuleRunPlaybookAction object itself.
-
withOrder
Set the order property: The order property.- Overrides:
withOrder
in classAutomationRuleAction
- Parameters:
order
- the order value to set.- Returns:
- the AutomationRuleAction object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAutomationRuleAction
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-