Struct aws_sdk_pipes::types::BatchRetryStrategy
source · #[non_exhaustive]pub struct BatchRetryStrategy {
pub attempts: Option<i32>,
}
Expand description
The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attempts: Option<i32>
The number of times to move a job to the RUNNABLE
status. If the value of attempts
is greater than one, the job is retried on failure the same number of attempts as the value.
Implementations§
source§impl BatchRetryStrategy
impl BatchRetryStrategy
sourcepub fn builder() -> BatchRetryStrategyBuilder
pub fn builder() -> BatchRetryStrategyBuilder
Creates a new builder-style object to manufacture BatchRetryStrategy
.
Trait Implementations§
source§impl Clone for BatchRetryStrategy
impl Clone for BatchRetryStrategy
source§fn clone(&self) -> BatchRetryStrategy
fn clone(&self) -> BatchRetryStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchRetryStrategy
impl Debug for BatchRetryStrategy
source§impl PartialEq for BatchRetryStrategy
impl PartialEq for BatchRetryStrategy
source§fn eq(&self, other: &BatchRetryStrategy) -> bool
fn eq(&self, other: &BatchRetryStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchRetryStrategy
Auto Trait Implementations§
impl RefUnwindSafe for BatchRetryStrategy
impl Send for BatchRetryStrategy
impl Sync for BatchRetryStrategy
impl Unpin for BatchRetryStrategy
impl UnwindSafe for BatchRetryStrategy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.