AWS SDK for C++  1.9.129
AWS SDK for C++
Public Member Functions | List of all members
Aws::SageMaker::Model::RetryStrategy Class Reference

#include <RetryStrategy.h>

Public Member Functions

 RetryStrategy ()
 
 RetryStrategy (Aws::Utils::Json::JsonView jsonValue)
 
RetryStrategyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetMaximumRetryAttempts () const
 
bool MaximumRetryAttemptsHasBeenSet () const
 
void SetMaximumRetryAttempts (int value)
 
RetryStrategyWithMaximumRetryAttempts (int value)
 

Detailed Description

The retry strategy to use when a training job fails due to an InternalServerError. RetryStrategy is specified as part of the CreateTrainingJob and CreateHyperParameterTuningJob requests. You can add the StoppingCondition parameter to the request to limit the training time for the complete job.

See Also:

AWS API Reference

Definition at line 34 of file RetryStrategy.h.

Constructor & Destructor Documentation

◆ RetryStrategy() [1/2]

Aws::SageMaker::Model::RetryStrategy::RetryStrategy ( )

◆ RetryStrategy() [2/2]

Aws::SageMaker::Model::RetryStrategy::RetryStrategy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetMaximumRetryAttempts()

int Aws::SageMaker::Model::RetryStrategy::GetMaximumRetryAttempts ( ) const
inline

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Definition at line 47 of file RetryStrategy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SageMaker::Model::RetryStrategy::Jsonize ( ) const

◆ MaximumRetryAttemptsHasBeenSet()

bool Aws::SageMaker::Model::RetryStrategy::MaximumRetryAttemptsHasBeenSet ( ) const
inline

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Definition at line 53 of file RetryStrategy.h.

◆ operator=()

RetryStrategy& Aws::SageMaker::Model::RetryStrategy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetMaximumRetryAttempts()

void Aws::SageMaker::Model::RetryStrategy::SetMaximumRetryAttempts ( int  value)
inline

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Definition at line 59 of file RetryStrategy.h.

◆ WithMaximumRetryAttempts()

RetryStrategy& Aws::SageMaker::Model::RetryStrategy::WithMaximumRetryAttempts ( int  value)
inline

The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

Definition at line 65 of file RetryStrategy.h.


The documentation for this class was generated from the following file: