Class TerminateBatchTaskOptions

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

public final class TerminateBatchTaskOptions extends Object
Optional parameters for Terminate Task operation.
  • Constructor Details

    • TerminateBatchTaskOptions

      public TerminateBatchTaskOptions()
      Creates an instance of TerminateBatchTaskOptions 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 TerminateBatchTaskOptions 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 TerminateBatchTaskOptions object itself.