Struct aws_sdk_sagemaker::model::retry_strategy::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RetryStrategy
.
Implementations§
source§impl Builder
impl Builder
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
.