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 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<RetryStrategyBuilder> for RetryStrategyBuilder
impl PartialEq<RetryStrategyBuilder> 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 ==
.