Class AutomationRuleProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.AutomationRuleProperties
Automation rule properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactions()
Get the actions property: The actions to execute when the automation rule is triggered.Get the createdBy property: Information on the client (user or application) that made some action.Get the createdTimeUtc property: The time the automation rule was created.Get the displayName property: The display name of the automation rule.Get the lastModifiedBy property: Information on the client (user or application) that made some action.Get the lastModifiedTimeUtc property: The last time the automation rule was updated.int
order()
Get the order property: The order of execution of the automation rule.Get the triggeringLogic property: Describes automation rule triggering logic.void
validate()
Validates the instance.withActions
(List<AutomationRuleAction> actions) Set the actions property: The actions to execute when the automation rule is triggered.withDisplayName
(String displayName) Set the displayName property: The display name of the automation rule.withOrder
(int order) Set the order property: The order of execution of the automation rule.withTriggeringLogic
(AutomationRuleTriggeringLogic triggeringLogic) Set the triggeringLogic property: Describes automation rule triggering logic.
-
Constructor Details
-
AutomationRuleProperties
public AutomationRuleProperties()
-
-
Method Details
-
displayName
Get the displayName property: The display name of the automation rule.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the automation rule.- Parameters:
displayName
- the displayName value to set.- Returns:
- the AutomationRuleProperties object itself.
-
order
public int order()Get the order property: The order of execution of the automation rule.- Returns:
- the order value.
-
withOrder
Set the order property: The order of execution of the automation rule.- Parameters:
order
- the order value to set.- Returns:
- the AutomationRuleProperties object itself.
-
triggeringLogic
Get the triggeringLogic property: Describes automation rule triggering logic.- Returns:
- the triggeringLogic value.
-
withTriggeringLogic
Set the triggeringLogic property: Describes automation rule triggering logic.- Parameters:
triggeringLogic
- the triggeringLogic value to set.- Returns:
- the AutomationRuleProperties object itself.
-
actions
Get the actions property: The actions to execute when the automation rule is triggered.- Returns:
- the actions value.
-
withActions
Set the actions property: The actions to execute when the automation rule is triggered.- Parameters:
actions
- the actions value to set.- Returns:
- the AutomationRuleProperties object itself.
-
lastModifiedTimeUtc
Get the lastModifiedTimeUtc property: The last time the automation rule was updated.- Returns:
- the lastModifiedTimeUtc value.
-
createdTimeUtc
Get the createdTimeUtc property: The time the automation rule was created.- Returns:
- the createdTimeUtc value.
-
lastModifiedBy
Get the lastModifiedBy property: Information on the client (user or application) that made some action.- Returns:
- the lastModifiedBy value.
-
createdBy
Get the createdBy property: Information on the client (user or application) that made some action.- Returns:
- the createdBy value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-