Struct aws_sdk_eventbridge::types::builders::RetryPolicyBuilder
source · #[non_exhaustive]pub struct RetryPolicyBuilder { /* private fields */ }Expand description
A builder for RetryPolicy.
Implementations§
source§impl RetryPolicyBuilder
impl RetryPolicyBuilder
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 continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
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 continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_maximum_retry_attempts(&self) -> &Option<i32>
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
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 get_maximum_event_age_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_event_age_in_seconds(&self) -> &Option<i32>
The maximum amount of time, in seconds, to continue to make retry attempts.
sourcepub fn build(self) -> RetryPolicy
pub fn build(self) -> RetryPolicy
Consumes the builder and constructs a RetryPolicy.
Trait Implementations§
source§impl Clone for RetryPolicyBuilder
impl Clone for RetryPolicyBuilder
source§fn clone(&self) -> RetryPolicyBuilder
fn clone(&self) -> RetryPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RetryPolicyBuilder
impl Debug for RetryPolicyBuilder
source§impl Default for RetryPolicyBuilder
impl Default for RetryPolicyBuilder
source§fn default() -> RetryPolicyBuilder
fn default() -> RetryPolicyBuilder
source§impl PartialEq for RetryPolicyBuilder
impl PartialEq for RetryPolicyBuilder
source§fn eq(&self, other: &RetryPolicyBuilder) -> bool
fn eq(&self, other: &RetryPolicyBuilder) -> bool
self and other values to be equal, and is used
by ==.