ExecutionTarget Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ExecutionTarget
- com.
Implements
public final class ExecutionTarget
implements JsonSerializable<ExecutionTarget>
Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task.
Constructor Summary
Constructor | Description |
---|---|
ExecutionTarget() |
Creates an instance of Execution |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
excludePrefix()
Get the exclude |
static
Execution |
fromJson(JsonReader jsonReader)
Reads an instance of Execution |
List<String> |
prefix()
Get the prefix property: Required list of object prefixes to be included for task execution. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Execution |
withExcludePrefix(List<String> excludePrefix)
Set the exclude |
Execution |
withPrefix(List<String> prefix)
Set the prefix property: Required list of object prefixes to be included for task execution. |
Methods inherited from java.lang.Object
Constructor Details
ExecutionTarget
public ExecutionTarget()
Creates an instance of ExecutionTarget class.
Method Details
excludePrefix
public List
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:
fromJson
public static ExecutionTarget fromJson(JsonReader jsonReader)
Reads an instance of ExecutionTarget from the JsonReader.
Parameters:
Returns:
Throws:
prefix
public List
Get the prefix property: Required list of object prefixes to be included for task execution.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExcludePrefix
public ExecutionTarget withExcludePrefix(List
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:
Returns:
withPrefix
public ExecutionTarget withPrefix(List
Set the prefix property: Required list of object prefixes to be included for task execution.
Parameters:
Returns:
Applies to
Azure SDK for Java