共用方式為


JobStepExecutionOptions Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.JobStepExecutionOptions

Implements

public final class JobStepExecutionOptions
implements JsonSerializable<JobStepExecutionOptions>

The execution options of a job step.

Constructor Summary

Constructor Description
JobStepExecutionOptions()

Creates an instance of JobStepExecutionOptions class.

Method Summary

Modifier and Type Method and Description
static JobStepExecutionOptions fromJson(JsonReader jsonReader)

Reads an instance of JobStepExecutionOptions from the JsonReader.

Integer initialRetryIntervalSeconds()

Get the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.

Integer maximumRetryIntervalSeconds()

Get the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.

Integer retryAttempts()

Get the retryAttempts property: Maximum number of times the job step will be reattempted if the first attempt fails.

Float retryIntervalBackoffMultiplier()

Get the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.

Integer timeoutSeconds()

Get the timeoutSeconds property: Execution timeout for the job step.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

JobStepExecutionOptions withInitialRetryIntervalSeconds(Integer initialRetryIntervalSeconds)

Set the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.

JobStepExecutionOptions withMaximumRetryIntervalSeconds(Integer maximumRetryIntervalSeconds)

Set the maximumRetryIntervalSeconds property: The maximum amount of time to wait between retries for job step execution.

JobStepExecutionOptions withRetryAttempts(Integer retryAttempts)

Set the retryAttempts property: Maximum number of times the job step will be reattempted if the first attempt fails.

JobStepExecutionOptions withRetryIntervalBackoffMultiplier(Float retryIntervalBackoffMultiplier)

Set the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.

JobStepExecutionOptions withTimeoutSeconds(Integer timeoutSeconds)

Set the timeoutSeconds property: Execution timeout for the job step.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of JobStepExecutionOptions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the JobStepExecutionOptions.

initialRetryIntervalSeconds

public Integer initialRetryIntervalSeconds()

Get the initialRetryIntervalSeconds property: Initial delay between retries for job step execution.

Returns:

the initialRetryIntervalSeconds value.

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.

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.

retryIntervalBackoffMultiplier

public Float retryIntervalBackoffMultiplier()

Get the retryIntervalBackoffMultiplier property: The backoff multiplier for the time between retries.

Returns:

the retryIntervalBackoffMultiplier value.

timeoutSeconds

public Integer timeoutSeconds()

Get the timeoutSeconds property: Execution timeout for the job step.

Returns:

the timeoutSeconds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

initialRetryIntervalSeconds - the initialRetryIntervalSeconds value to set.

Returns:

the JobStepExecutionOptions object itself.

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.

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.

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.

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.

Applies to