Package com.azure.compute.batch.models
Class TerminateBatchTaskOptions
java.lang.Object
com.azure.compute.batch.models.TerminateBatchTaskOptions
Optional parameters for Terminate Task operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TerminateBatchTaskOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.setTimeOutInSeconds
(Integer timeOutInSeconds) Set the timeOutInSeconds property: The maximum time that the server can spend processing the request, in seconds.
-
Constructor Details
-
TerminateBatchTaskOptions
public TerminateBatchTaskOptions()Creates an instance of TerminateBatchTaskOptions 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 TerminateBatchTaskOptions object itself.
-