Class ExecutionTarget

java.lang.Object
com.azure.resourcemanager.storage.models.ExecutionTarget

public final class ExecutionTarget extends Object
Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task.
  • Constructor Details

    • ExecutionTarget

      public ExecutionTarget()
      Creates an instance of ExecutionTarget class.
  • Method Details

    • prefix

      public List<String> prefix()
      Get the prefix property: Required list of object prefixes to be included for task execution.
      Returns:
      the prefix value.
    • withPrefix

      public ExecutionTarget withPrefix(List<String> prefix)
      Set the prefix property: Required list of object prefixes to be included for task execution.
      Parameters:
      prefix - the prefix value to set.
      Returns:
      the ExecutionTarget object itself.
    • excludePrefix

      public List<String> excludePrefix()
      Get the excludePrefix property: List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor.
      Returns:
      the excludePrefix value.
    • withExcludePrefix

      public ExecutionTarget withExcludePrefix(List<String> excludePrefix)
      Set the excludePrefix property: List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor.
      Parameters:
      excludePrefix - the excludePrefix value to set.
      Returns:
      the ExecutionTarget object itself.
    • validate

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