Struct aws_sdk_scheduler::model::retry_policy::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RetryPolicy.
Implementations§
source§impl Builder
impl Builder
sourcepub fn maximum_event_age_in_seconds(self, input: i32) -> Self
pub fn maximum_event_age_in_seconds(self, input: i32) -> Self
The maximum amount of time, in seconds, to continue to make retry attempts.
sourcepub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
The maximum amount of time, in seconds, to continue to make retry attempts.
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is reached.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is reached.
sourcepub fn build(self) -> RetryPolicy
pub fn build(self) -> RetryPolicy
Consumes the builder and constructs a RetryPolicy.