#[non_exhaustive]pub struct JobExecutionsRetryConfigBuilder { /* private fields */ }
Expand description
A builder for JobExecutionsRetryConfig
.
Implementations§
source§impl JobExecutionsRetryConfigBuilder
impl JobExecutionsRetryConfigBuilder
sourcepub fn criteria_list(self, input: RetryCriteria) -> Self
pub fn criteria_list(self, input: RetryCriteria) -> Self
Appends an item to criteria_list
.
To override the contents of this collection use set_criteria_list
.
The list of criteria that determines how many retries are allowed for each failure type for a job.
sourcepub fn set_criteria_list(self, input: Option<Vec<RetryCriteria>>) -> Self
pub fn set_criteria_list(self, input: Option<Vec<RetryCriteria>>) -> Self
The list of criteria that determines how many retries are allowed for each failure type for a job.
sourcepub fn get_criteria_list(&self) -> &Option<Vec<RetryCriteria>>
pub fn get_criteria_list(&self) -> &Option<Vec<RetryCriteria>>
The list of criteria that determines how many retries are allowed for each failure type for a job.
sourcepub fn build(self) -> Result<JobExecutionsRetryConfig, BuildError>
pub fn build(self) -> Result<JobExecutionsRetryConfig, BuildError>
Consumes the builder and constructs a JobExecutionsRetryConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JobExecutionsRetryConfigBuilder
impl Clone for JobExecutionsRetryConfigBuilder
source§fn clone(&self) -> JobExecutionsRetryConfigBuilder
fn clone(&self) -> JobExecutionsRetryConfigBuilder
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 Default for JobExecutionsRetryConfigBuilder
impl Default for JobExecutionsRetryConfigBuilder
source§fn default() -> JobExecutionsRetryConfigBuilder
fn default() -> JobExecutionsRetryConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for JobExecutionsRetryConfigBuilder
impl PartialEq for JobExecutionsRetryConfigBuilder
source§fn eq(&self, other: &JobExecutionsRetryConfigBuilder) -> bool
fn eq(&self, other: &JobExecutionsRetryConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobExecutionsRetryConfigBuilder
Auto Trait Implementations§
impl Freeze for JobExecutionsRetryConfigBuilder
impl RefUnwindSafe for JobExecutionsRetryConfigBuilder
impl Send for JobExecutionsRetryConfigBuilder
impl Sync for JobExecutionsRetryConfigBuilder
impl Unpin for JobExecutionsRetryConfigBuilder
impl UnwindSafe for JobExecutionsRetryConfigBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.