Struct aws_sdk_iot::model::RetryCriteria
source · #[non_exhaustive]pub struct RetryCriteria { /* private fields */ }
Expand description
The criteria that determines how many retries are allowed for each failure type for a job.
Implementations§
source§impl RetryCriteria
impl RetryCriteria
sourcepub fn failure_type(&self) -> Option<&RetryableFailureType>
pub fn failure_type(&self) -> Option<&RetryableFailureType>
The type of job execution failures that can initiate a job retry.
sourcepub fn number_of_retries(&self) -> Option<i32>
pub fn number_of_retries(&self) -> Option<i32>
The number of retries allowed for a failure type for the job.
source§impl RetryCriteria
impl RetryCriteria
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RetryCriteria
.
Trait Implementations§
source§impl Clone for RetryCriteria
impl Clone for RetryCriteria
source§fn clone(&self) -> RetryCriteria
fn clone(&self) -> RetryCriteria
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 RetryCriteria
impl Debug for RetryCriteria
source§impl PartialEq<RetryCriteria> for RetryCriteria
impl PartialEq<RetryCriteria> for RetryCriteria
source§fn eq(&self, other: &RetryCriteria) -> bool
fn eq(&self, other: &RetryCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.