public static interface RetryStrategy.Builder extends SdkPojo, CopyableBuilder<RetryStrategy.Builder,RetryStrategy>
| Modifier and Type | Method and Description |
|---|---|
RetryStrategy.Builder |
attempts(Integer attempts)
The number of times to move a job to the
RUNNABLE status. |
RetryStrategy.Builder |
evaluateOnExit(Collection<EvaluateOnExit> evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed.
|
RetryStrategy.Builder |
evaluateOnExit(Consumer<EvaluateOnExit.Builder>... evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed.
|
RetryStrategy.Builder |
evaluateOnExit(EvaluateOnExit... evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRetryStrategy.Builder attempts(Integer attempts)
The number of times to move a job to the RUNNABLE status. You can specify between 1 and 10
attempts. If the value of attempts is greater than one, the job is retried on failure the same
number of attempts as the value.
attempts - The number of times to move a job to the RUNNABLE status. You can specify between 1 and
10 attempts. If the value of attempts is greater than one, the job is retried on failure
the same number of attempts as the value.RetryStrategy.Builder evaluateOnExit(Collection<EvaluateOnExit> evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this
parameter is specified, then the attempts parameter must also be specified.
evaluateOnExit - Array of up to 5 objects that specify conditions under which the job should be retried or failed. If
this parameter is specified, then the attempts parameter must also be specified.RetryStrategy.Builder evaluateOnExit(EvaluateOnExit... evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this
parameter is specified, then the attempts parameter must also be specified.
evaluateOnExit - Array of up to 5 objects that specify conditions under which the job should be retried or failed. If
this parameter is specified, then the attempts parameter must also be specified.RetryStrategy.Builder evaluateOnExit(Consumer<EvaluateOnExit.Builder>... evaluateOnExit)
Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this
parameter is specified, then the attempts parameter must also be specified.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #evaluateOnExit(List) .evaluateOnExit - a consumer that will call methods on List.Builder #evaluateOnExit(List) Copyright © 2021. All rights reserved.