Class JobStepExecutionOptions

java.lang.Object
com.microsoft.azure.management.sql.JobStepExecutionOptions

public class JobStepExecutionOptions extends Object
The execution options of a job step.
  • Constructor Details

    • JobStepExecutionOptions

      public JobStepExecutionOptions()
  • Method Details

    • timeoutSeconds

      public Integer timeoutSeconds()
      Get execution timeout for the job step.
      Returns:
      the timeoutSeconds value
    • withTimeoutSeconds

      public JobStepExecutionOptions withTimeoutSeconds(Integer timeoutSeconds)
      Set execution timeout for the job step.
      Parameters:
      timeoutSeconds - the timeoutSeconds value to set
      Returns:
      the JobStepExecutionOptions object itself.
    • retryAttempts

      public Integer retryAttempts()
      Get maximum number of times the job step will be reattempted if the first attempt fails.
      Returns:
      the retryAttempts value
    • withRetryAttempts

      public JobStepExecutionOptions withRetryAttempts(Integer retryAttempts)
      Set maximum number of times the job step will be reattempted if the first attempt fails.
      Parameters:
      retryAttempts - the retryAttempts value to set
      Returns:
      the JobStepExecutionOptions object itself.
    • initialRetryIntervalSeconds

      public Integer initialRetryIntervalSeconds()
      Get initial delay between retries for job step execution.
      Returns:
      the initialRetryIntervalSeconds value
    • withInitialRetryIntervalSeconds

      public JobStepExecutionOptions withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)
      Set initial delay between retries for job step execution.
      Parameters:
      initialRetryIntervalSeconds - the initialRetryIntervalSeconds value to set
      Returns:
      the JobStepExecutionOptions object itself.
    • maximumRetryIntervalSeconds

      public Integer maximumRetryIntervalSeconds()
      Get the maximum amount of time to wait between retries for job step execution.
      Returns:
      the maximumRetryIntervalSeconds value
    • withMaximumRetryIntervalSeconds

      public JobStepExecutionOptions withMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)
      Set the maximum amount of time to wait between retries for job step execution.
      Parameters:
      maximumRetryIntervalSeconds - the maximumRetryIntervalSeconds value to set
      Returns:
      the JobStepExecutionOptions object itself.
    • retryIntervalBackoffMultiplier

      public Double retryIntervalBackoffMultiplier()
      Get the backoff multiplier for the time between retries.
      Returns:
      the retryIntervalBackoffMultiplier value
    • withRetryIntervalBackoffMultiplier

      public JobStepExecutionOptions withRetryIntervalBackoffMultiplier(Double retryIntervalBackoffMultiplier)
      Set the backoff multiplier for the time between retries.
      Parameters:
      retryIntervalBackoffMultiplier - the retryIntervalBackoffMultiplier value to set
      Returns:
      the JobStepExecutionOptions object itself.