Class AutomationInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.security.fluent.models.AutomationInner

public final class AutomationInner extends com.azure.core.management.Resource
The security automation resource.
  • Constructor Details

    • AutomationInner

      public AutomationInner()
  • Method Details

    • withLocation

      public AutomationInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AutomationInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • description

      public String description()
      Get the description property: The security automation description.
      Returns:
      the description value.
    • withDescription

      public AutomationInner withDescription(String description)
      Set the description property: The security automation description.
      Parameters:
      description - the description value to set.
      Returns:
      the AutomationInner object itself.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Indicates whether the security automation is enabled.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public AutomationInner withIsEnabled(Boolean isEnabled)
      Set the isEnabled property: Indicates whether the security automation is enabled.
      Parameters:
      isEnabled - the isEnabled value to set.
      Returns:
      the AutomationInner object itself.
    • scopes

      public List<AutomationScope> scopes()
      Get the scopes property: A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.
      Returns:
      the scopes value.
    • withScopes

      public AutomationInner withScopes(List<AutomationScope> scopes)
      Set the scopes property: A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.
      Parameters:
      scopes - the scopes value to set.
      Returns:
      the AutomationInner object itself.
    • sources

      public List<AutomationSource> sources()
      Get the sources property: A collection of the source event types which evaluate the security automation set of rules.
      Returns:
      the sources value.
    • withSources

      public AutomationInner withSources(List<AutomationSource> sources)
      Set the sources property: A collection of the source event types which evaluate the security automation set of rules.
      Parameters:
      sources - the sources value to set.
      Returns:
      the AutomationInner object itself.
    • actions

      public List<AutomationAction> actions()
      Get the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
      Returns:
      the actions value.
    • withActions

      public AutomationInner withActions(List<AutomationAction> actions)
      Set the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
      Parameters:
      actions - the actions value to set.
      Returns:
      the AutomationInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.