BatchTaskTerminateOptions Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskTerminateOptions
- com.
public final class BatchTaskTerminateOptions
Optional parameters for Terminate Task operation.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchTaskTerminateOptions() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Duration |
getTimeOutInSeconds()
Get the time |
|
Batch |
setTimeOutInSeconds(Duration timeOutInSeconds)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
BatchTaskTerminateOptions
public BatchTaskTerminateOptions()
Creates an instance of BatchTaskTerminateOptions class.
Method Details
getTimeOutInSeconds
public Duration 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:
setTimeOutInSeconds
public BatchTaskTerminateOptions setTimeOutInSeconds(Duration timeOutInSeconds)
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:
Returns: