Class AutomationScope

java.lang.Object
com.azure.resourcemanager.security.models.AutomationScope

public final class AutomationScope extends Object
A single automation scope.
  • Constructor Details

    • AutomationScope

      public AutomationScope()
  • Method Details

    • description

      public String description()
      Get the description property: The resources scope description.
      Returns:
      the description value.
    • withDescription

      public AutomationScope withDescription(String description)
      Set the description property: The resources scope description.
      Parameters:
      description - the description value to set.
      Returns:
      the AutomationScope object itself.
    • scopePath

      public String scopePath()
      Get the scopePath property: The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).
      Returns:
      the scopePath value.
    • withScopePath

      public AutomationScope withScopePath(String scopePath)
      Set the scopePath property: The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).
      Parameters:
      scopePath - the scopePath value to set.
      Returns:
      the AutomationScope object itself.
    • validate

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