Package com.azure.compute.batch.models
Class DeleteBatchTaskFileOptions
java.lang.Object
com.azure.compute.batch.models.DeleteBatchTaskFileOptions
Optional parameters for Delete Task File operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeleteBatchTaskFileOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.Get the recursive property: Whether to delete children of a directory.setRecursive
(Boolean recursive) Set the recursive property: Whether to delete children of a directory.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
DeleteBatchTaskFileOptions
public DeleteBatchTaskFileOptions()Creates an instance of DeleteBatchTaskFileOptions class.
-
-
Method Details
-
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:
- the timeOutInSeconds value.
-
setTimeOutInSeconds
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:
timeOutInSeconds
- the timeOutInSeconds value to set.- Returns:
- the DeleteBatchTaskFileOptions object itself.
-
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:
- the recursive value.
-
setRecursive
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:
recursive
- the recursive value to set.- Returns:
- the DeleteBatchTaskFileOptions object itself.
-