Class AutomationRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.AutomationRuleInner
The AutomationRule model.
-
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.Set the etag property: Etag of the azure resource.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.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AutomationRuleInner
public AutomationRuleInner()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classResourceWithEtag
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
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 AutomationRuleInner 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 AutomationRuleInner 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 AutomationRuleInner 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 AutomationRuleInner 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.- Overrides:
validate
in classResourceWithEtag
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-