Struct aws_sdk_scheduler::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_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.
Trait Implementations§
source§impl Clone for RetryPolicyBuilder
impl Clone for RetryPolicyBuilder
source§fn clone(&self) -> RetryPolicyBuilder
fn clone(&self) -> RetryPolicyBuilder
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 RetryPolicyBuilder
impl Debug for RetryPolicyBuilder
source§impl Default for RetryPolicyBuilder
impl Default for RetryPolicyBuilder
source§fn default() -> RetryPolicyBuilder
fn default() -> RetryPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RetryPolicyBuilder> for RetryPolicyBuilder
impl PartialEq<RetryPolicyBuilder> for RetryPolicyBuilder
source§fn eq(&self, other: &RetryPolicyBuilder) -> bool
fn eq(&self, other: &RetryPolicyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RetryPolicyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RetryPolicyBuilder
impl Send for RetryPolicyBuilder
impl Sync for RetryPolicyBuilder
impl Unpin for RetryPolicyBuilder
impl UnwindSafe for RetryPolicyBuilder
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