Struct aws_sdk_batch::model::retry_strategy::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RetryStrategy
Implementations
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.
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.
Appends an item to evaluate_on_exit
.
To override the contents of this collection use set_evaluate_on_exit
.
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.
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.
Consumes the builder and constructs a RetryStrategy
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more