Struct aws_sdk_pipes::model::batch_retry_strategy::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchRetryStrategy
.
Implementations§
source§impl Builder
impl Builder
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
.