Struct aws_sdk_scheduler::model::RetryPolicy
source · #[non_exhaustive]pub struct RetryPolicy { /* private fields */ }
Expand description
A RetryPolicy
object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.
Implementations§
source§impl RetryPolicy
impl RetryPolicy
sourcepub fn maximum_event_age_in_seconds(&self) -> Option<i32>
pub fn maximum_event_age_in_seconds(&self) -> Option<i32>
The maximum amount of time, in seconds, to continue to make retry attempts.
sourcepub fn maximum_retry_attempts(&self) -> Option<i32>
pub fn maximum_retry_attempts(&self) -> Option<i32>
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.
source§impl RetryPolicy
impl RetryPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RetryPolicy
.
Trait Implementations§
source§impl Clone for RetryPolicy
impl Clone for RetryPolicy
source§fn clone(&self) -> RetryPolicy
fn clone(&self) -> RetryPolicy
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 RetryPolicy
impl Debug for RetryPolicy
source§impl PartialEq<RetryPolicy> for RetryPolicy
impl PartialEq<RetryPolicy> for RetryPolicy
source§fn eq(&self, other: &RetryPolicy) -> bool
fn eq(&self, other: &RetryPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.