JobStepExecutionOptions Class

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

public class JobStepExecutionOptions

The execution options of a job step.

Constructor Summary

Constructor Description
JobStepExecutionOptions()

Method Summary

Modifier and Type Method and Description
java.lang.Integer initialRetryIntervalSeconds()

Get initial delay between retries for job step execution.

java.lang.Integer maximumRetryIntervalSeconds()

Get the maximum amount of time to wait between retries for job step execution.

java.lang.Integer retryAttempts()

Get maximum number of times the job step will be reattempted if the first attempt fails.

java.lang.Double retryIntervalBackoffMultiplier()

Get the backoff multiplier for the time between retries.

java.lang.Integer timeoutSeconds()

Get execution timeout for the job step.

JobStepExecutionOptions withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)

Set initial delay between retries for job step execution.

JobStepExecutionOptions withMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)

Set the maximum amount of time to wait between retries for job step execution.

JobStepExecutionOptions withRetryAttempts(Integer retryAttempts)

Set maximum number of times the job step will be reattempted if the first attempt fails.

JobStepExecutionOptions withRetryIntervalBackoffMultiplier(Double retryIntervalBackoffMultiplier)

Set the backoff multiplier for the time between retries.

JobStepExecutionOptions withTimeoutSeconds(Integer timeoutSeconds)

Set execution timeout for the job step.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

JobStepExecutionOptions

public JobStepExecutionOptions()

Method Details

initialRetryIntervalSeconds

public Integer initialRetryIntervalSeconds()

Get initial delay between retries for job step execution.

Returns:

the initialRetryIntervalSeconds value

maximumRetryIntervalSeconds

public Integer maximumRetryIntervalSeconds()

Get the maximum amount of time to wait between retries for job step execution.

Returns:

the maximumRetryIntervalSeconds value

retryAttempts

public Integer retryAttempts()

Get maximum number of times the job step will be reattempted if the first attempt fails.

Returns:

the retryAttempts value

retryIntervalBackoffMultiplier

public Double retryIntervalBackoffMultiplier()

Get the backoff multiplier for the time between retries.

Returns:

the retryIntervalBackoffMultiplier value

timeoutSeconds

public Integer timeoutSeconds()

Get execution timeout for the job step.

Returns:

the timeoutSeconds 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.

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.

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.

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.

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.

Applies to