Struct aws_sdk_eventbridge::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 attempt to retry, if the job fails. Valid values are 1–10.
sourcepub fn set_attempts(self, input: Option<i32>) -> Self
pub fn set_attempts(self, input: Option<i32>) -> Self
The number of times to attempt to retry, if the job fails. Valid values are 1–10.
sourcepub fn build(self) -> BatchRetryStrategy
pub fn build(self) -> BatchRetryStrategy
Consumes the builder and constructs a BatchRetryStrategy.