Class JobStepExecutionOptions
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.JobStepExecutionOptions
-
public final class JobStepExecutionOptions extends Object
The execution options of a job step.
-
-
Constructor Summary
Constructors Constructor Description JobStepExecutionOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerinitialRetryIntervalSeconds()Get the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.IntegermaximumRetryIntervalSeconds()Get the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.IntegerretryAttempts()Get the retryAttempts property: Maximum number of times the job step will be reattempted if the first attempt fails.FloatretryIntervalBackoffMultiplier()Get the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.IntegertimeoutSeconds()Get the timeoutSeconds property: Execution timeout for the job step.voidvalidate()Validates the instance.JobStepExecutionOptionswithInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)Set the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.JobStepExecutionOptionswithMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)Set the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.JobStepExecutionOptionswithRetryAttempts(Integer retryAttempts)Set the retryAttempts property: Maximum number of times the job step will be reattempted if the first attempt fails.JobStepExecutionOptionswithRetryIntervalBackoffMultiplier(Float retryIntervalBackoffMultiplier)Set the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.JobStepExecutionOptionswithTimeoutSeconds(Integer timeoutSeconds)Set the timeoutSeconds property: Execution timeout for the job step.
-
-
-
Method Detail
-
timeoutSeconds
public Integer timeoutSeconds()
Get the timeoutSeconds property: Execution timeout for the job step.- Returns:
- the timeoutSeconds value.
-
withTimeoutSeconds
public JobStepExecutionOptions withTimeoutSeconds(Integer timeoutSeconds)
Set the timeoutSeconds property: Execution timeout for the job step.- Parameters:
timeoutSeconds- the timeoutSeconds value to set.- Returns:
- the JobStepExecutionOptions object itself.
-
retryAttempts
public Integer retryAttempts()
Get the retryAttempts property: 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 the retryAttempts property: 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 the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.- Returns:
- the initialRetryIntervalSeconds value.
-
withInitialRetryIntervalSeconds
public JobStepExecutionOptions withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)
Set the initialRetryIntervalSeconds property: 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 maximumRetryIntervalSeconds property: 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 maximumRetryIntervalSeconds property: 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 Float retryIntervalBackoffMultiplier()
Get the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.- Returns:
- the retryIntervalBackoffMultiplier value.
-
withRetryIntervalBackoffMultiplier
public JobStepExecutionOptions withRetryIntervalBackoffMultiplier(Float retryIntervalBackoffMultiplier)
Set the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.- Parameters:
retryIntervalBackoffMultiplier- the retryIntervalBackoffMultiplier value to set.- Returns:
- the JobStepExecutionOptions object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-