Class AutomationRuleRunPlaybookAction
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.AutomationRuleAction
-
- com.azure.resourcemanager.securityinsights.models.AutomationRuleRunPlaybookAction
-
public final class AutomationRuleRunPlaybookAction extends AutomationRuleAction
Describes an automation rule action to run a playbook.
-
-
Constructor Summary
Constructors Constructor Description AutomationRuleRunPlaybookAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlaybookActionProperties
actionConfiguration()
Get the actionConfiguration property: The actionConfiguration property.void
validate()
Validates the instance.AutomationRuleRunPlaybookAction
withActionConfiguration(PlaybookActionProperties actionConfiguration)
Set the actionConfiguration property: The actionConfiguration property.AutomationRuleRunPlaybookAction
withOrder(int order)
Set the order property: The order property.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.AutomationRuleAction
order
-
-
-
-
Method Detail
-
actionConfiguration
public PlaybookActionProperties 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
public AutomationRuleRunPlaybookAction withOrder(int order)
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.
-
-