Struct aws_sdk_eventbridge::types::RetryPolicy
source · #[non_exhaustive]pub struct RetryPolicy { /* private fields */ }
Expand description
A RetryPolicy
object that includes information about the retry policy settings.
Implementations§
source§impl RetryPolicy
impl RetryPolicy
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 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) -> 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.
source§impl RetryPolicy
impl RetryPolicy
sourcepub fn builder() -> RetryPolicyBuilder
pub fn builder() -> RetryPolicyBuilder
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 ==
.impl StructuralPartialEq for RetryPolicy
Auto Trait Implementations§
impl RefUnwindSafe for RetryPolicy
impl Send for RetryPolicy
impl Sync for RetryPolicy
impl Unpin for RetryPolicy
impl UnwindSafe for RetryPolicy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more