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