Struct aws_sdk_sagemaker::types::builders::RetryStrategyBuilder
source · #[non_exhaustive]pub struct RetryStrategyBuilder { /* private fields */ }
Expand description
A builder for RetryStrategy
.
Implementations§
source§impl RetryStrategyBuilder
impl RetryStrategyBuilder
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
The number of times to retry the job. When the job is retried, it's SecondaryStatus
is changed to STARTING
.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
The number of times to retry the job. When the job is retried, it's SecondaryStatus
is changed to STARTING
.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_maximum_retry_attempts(&self) -> &Option<i32>
The number of times to retry the job. When the job is retried, it's SecondaryStatus
is changed to STARTING
.
sourcepub fn build(self) -> RetryStrategy
pub fn build(self) -> RetryStrategy
Consumes the builder and constructs a RetryStrategy
.
Trait Implementations§
source§impl Clone for RetryStrategyBuilder
impl Clone for RetryStrategyBuilder
source§fn clone(&self) -> RetryStrategyBuilder
fn clone(&self) -> RetryStrategyBuilder
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 RetryStrategyBuilder
impl Debug for RetryStrategyBuilder
source§impl Default for RetryStrategyBuilder
impl Default for RetryStrategyBuilder
source§fn default() -> RetryStrategyBuilder
fn default() -> RetryStrategyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RetryStrategyBuilder
impl PartialEq for RetryStrategyBuilder
source§fn eq(&self, other: &RetryStrategyBuilder) -> bool
fn eq(&self, other: &RetryStrategyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RetryStrategyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RetryStrategyBuilder
impl Send for RetryStrategyBuilder
impl Sync for RetryStrategyBuilder
impl Unpin for RetryStrategyBuilder
impl UnwindSafe for RetryStrategyBuilder
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.