JobStepExecutionOptions Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. JobStepExecutionOptions
- com.
Implements
public final class JobStepExecutionOptions
implements JsonSerializable<JobStepExecutionOptions>
The execution options of a job step.
Constructor Summary
Constructor | Description |
---|---|
JobStepExecutionOptions() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
Integer |
initialRetryIntervalSeconds()
Get the initial |
Integer |
maximumRetryIntervalSeconds()
Get the maximum |
Integer |
retryAttempts()
Get the retry |
Float |
retryIntervalBackoffMultiplier()
Get the retry |
Integer |
timeoutSeconds()
Get the timeout |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Job |
withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)
Set the initial |
Job |
withMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)
Set the maximum |
Job |
withRetryAttempts(Integer retryAttempts)
Set the retry |
Job |
withRetryIntervalBackoffMultiplier(Float retryIntervalBackoffMultiplier)
Set the retry |
Job |
withTimeoutSeconds(Integer timeoutSeconds)
Set the timeout |
Methods inherited from java.lang.Object
Constructor Details
JobStepExecutionOptions
public JobStepExecutionOptions()
Creates an instance of JobStepExecutionOptions class.
Method Details
fromJson
public static JobStepExecutionOptions fromJson(JsonReader jsonReader)
Reads an instance of JobStepExecutionOptions from the JsonReader.
Parameters:
Returns:
Throws:
initialRetryIntervalSeconds
public Integer initialRetryIntervalSeconds()
Get the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.
Returns:
maximumRetryIntervalSeconds
public Integer maximumRetryIntervalSeconds()
Get the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.
Returns:
retryAttempts
public Integer retryAttempts()
Get the retryAttempts property: Maximum number of times the job step will be reattempted if the first attempt fails.
Returns:
retryIntervalBackoffMultiplier
public Float retryIntervalBackoffMultiplier()
Get the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.
Returns:
timeoutSeconds
public Integer timeoutSeconds()
Get the timeoutSeconds property: Execution timeout for the job step.
Returns:
toJson
validate
public void validate()
Validates the instance.
withInitialRetryIntervalSeconds
public JobStepExecutionOptions withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)
Set the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.
Parameters:
Returns:
withMaximumRetryIntervalSeconds
public JobStepExecutionOptions withMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)
Set the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.
Parameters:
Returns:
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:
Returns:
withRetryIntervalBackoffMultiplier
public JobStepExecutionOptions withRetryIntervalBackoffMultiplier(Float retryIntervalBackoffMultiplier)
Set the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.
Parameters:
Returns:
withTimeoutSeconds
public JobStepExecutionOptions withTimeoutSeconds(Integer timeoutSeconds)
Set the timeoutSeconds property: Execution timeout for the job step.
Parameters:
Returns: