Class TerminateBatchJobScheduleOptions

java.lang.Object
com.azure.compute.batch.models.TerminateBatchJobScheduleOptions

public final class TerminateBatchJobScheduleOptions extends Object
Optional parameters for Terminate Job Schedule operation.
  • Constructor Details

    • TerminateBatchJobScheduleOptions

      public TerminateBatchJobScheduleOptions()
      Creates an instance of TerminateBatchJobScheduleOptions class.
  • Method Details

    • getTimeOutInSeconds

      public Integer 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

      public TerminateBatchJobScheduleOptions setTimeOutInSeconds(Integer 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:
      timeOutInSeconds - the timeOutInSeconds value to set.
      Returns:
      the TerminateBatchJobScheduleOptions object itself.
    • isForce

      public Boolean 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

      public TerminateBatchJobScheduleOptions setForce(Boolean force)
      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.