Package com.azure.compute.batch.models
Class DeleteBatchJobOptions
java.lang.Object
com.azure.compute.batch.models.DeleteBatchJobOptions
Optional parameters for Delete Job operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.isForce()
Get the force property: If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion.Set the force property: If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
DeleteBatchJobOptions
public DeleteBatchJobOptions()Creates an instance of DeleteBatchJobOptions 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 DeleteBatchJobOptions object itself.
-
isForce
Get the force property: If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion. The default value is false.- Returns:
- the force value.
-
setForce
Set the force property: If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion. The default value is false.- Parameters:
force
- the force value to set.- Returns:
- the DeleteBatchJobOptions object itself.
-