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