BatchTaskFileDeleteOptions Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskFileDeleteOptions
- com.
public final class BatchTaskFileDeleteOptions
Optional parameters for Delete Task File operation.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchTaskFileDeleteOptions() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Duration |
getTimeOutInSeconds()
Get the time |
| Boolean |
isRecursive()
Get the recursive property: Whether to delete children of a directory. |
|
Batch |
setRecursive(Boolean recursive)
Set the recursive property: Whether to delete children of a directory. |
|
Batch |
setTimeOutInSeconds(Duration timeOutInSeconds)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
BatchTaskFileDeleteOptions
public BatchTaskFileDeleteOptions()
Creates an instance of BatchTaskFileDeleteOptions class.
Method Details
getTimeOutInSeconds
public Duration getTimeOutInSeconds()
Get the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
Returns:
isRecursive
public Boolean isRecursive()
Get the recursive property: Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
Returns:
setRecursive
public BatchTaskFileDeleteOptions setRecursive(Boolean recursive)
Set the recursive property: Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.
Parameters:
Returns:
setTimeOutInSeconds
public BatchTaskFileDeleteOptions setTimeOutInSeconds(Duration timeOutInSeconds)
Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
Parameters:
Returns: