Struct aws_sdk_pipes::types::builders::BatchRetryStrategyBuilder
source · #[non_exhaustive]pub struct BatchRetryStrategyBuilder { /* private fields */ }
Expand description
A builder for BatchRetryStrategy
.
Implementations§
source§impl BatchRetryStrategyBuilder
impl BatchRetryStrategyBuilder
sourcepub fn attempts(self, input: i32) -> Self
pub fn attempts(self, input: i32) -> Self
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.
sourcepub fn set_attempts(self, input: Option<i32>) -> Self
pub fn set_attempts(self, input: Option<i32>) -> Self
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.
sourcepub fn build(self) -> BatchRetryStrategy
pub fn build(self) -> BatchRetryStrategy
Consumes the builder and constructs a BatchRetryStrategy
.
Trait Implementations§
source§impl Clone for BatchRetryStrategyBuilder
impl Clone for BatchRetryStrategyBuilder
source§fn clone(&self) -> BatchRetryStrategyBuilder
fn clone(&self) -> BatchRetryStrategyBuilder
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 BatchRetryStrategyBuilder
impl Debug for BatchRetryStrategyBuilder
source§impl Default for BatchRetryStrategyBuilder
impl Default for BatchRetryStrategyBuilder
source§fn default() -> BatchRetryStrategyBuilder
fn default() -> BatchRetryStrategyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchRetryStrategyBuilder> for BatchRetryStrategyBuilder
impl PartialEq<BatchRetryStrategyBuilder> for BatchRetryStrategyBuilder
source§fn eq(&self, other: &BatchRetryStrategyBuilder) -> bool
fn eq(&self, other: &BatchRetryStrategyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchRetryStrategyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchRetryStrategyBuilder
impl Send for BatchRetryStrategyBuilder
impl Sync for BatchRetryStrategyBuilder
impl Unpin for BatchRetryStrategyBuilder
impl UnwindSafe for BatchRetryStrategyBuilder
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