Package com.azure.compute.batch.models
Class DeleteBatchNodeFileOptions
java.lang.Object
com.azure.compute.batch.models.DeleteBatchNodeFileOptions
Optional parameters for Delete Node File operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeleteBatchNodeFileOptions 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
-
DeleteBatchNodeFileOptions
public DeleteBatchNodeFileOptions()Creates an instance of DeleteBatchNodeFileOptions 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 DeleteBatchNodeFileOptions 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 DeleteBatchNodeFileOptions object itself.
-