java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.AutomationRuleInner

public final class AutomationRuleInner extends ResourceWithEtag
The AutomationRule model.
  • Constructor Details

    • AutomationRuleInner

      public AutomationRuleInner()
  • Method Details

    • withEtag

      public AutomationRuleInner withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class ResourceWithEtag
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the automation rule.
      Returns:
      the displayName value.
    • withDisplayName

      public AutomationRuleInner withDisplayName(String displayName)
      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

      public AutomationRuleInner withOrder(int order)
      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

      public AutomationRuleTriggeringLogic triggeringLogic()
      Get the triggeringLogic property: Describes automation rule triggering logic.
      Returns:
      the triggeringLogic value.
    • withTriggeringLogic

      public AutomationRuleInner withTriggeringLogic(AutomationRuleTriggeringLogic triggeringLogic)
      Set the triggeringLogic property: Describes automation rule triggering logic.
      Parameters:
      triggeringLogic - the triggeringLogic value to set.
      Returns:
      the AutomationRuleInner object itself.
    • actions

      public List<AutomationRuleAction> actions()
      Get the actions property: The actions to execute when the automation rule is triggered.
      Returns:
      the actions value.
    • withActions

      public AutomationRuleInner withActions(List<AutomationRuleAction> actions)
      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

      public OffsetDateTime lastModifiedTimeUtc()
      Get the lastModifiedTimeUtc property: The last time the automation rule was updated.
      Returns:
      the lastModifiedTimeUtc value.
    • createdTimeUtc

      public OffsetDateTime createdTimeUtc()
      Get the createdTimeUtc property: The time the automation rule was created.
      Returns:
      the createdTimeUtc value.
    • lastModifiedBy

      public ClientInfo lastModifiedBy()
      Get the lastModifiedBy property: Information on the client (user or application) that made some action.
      Returns:
      the lastModifiedBy value.
    • createdBy

      public ClientInfo 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 class ResourceWithEtag
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.