@Generated(value="software.amazon.awssdk:codegen") public final class RetryStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
RetryStrategy.Builder |
Modifier and Type | Method and Description |
---|---|
static RetryStrategy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maximumRetryAttempts()
The number of times to retry the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetryStrategy.Builder> |
serializableBuilderClass() |
RetryStrategy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer maximumRetryAttempts()
The number of times to retry the job. When the job is retried, it's SecondaryStatus
is changed to
STARTING
.
SecondaryStatus
is
changed to STARTING
.public RetryStrategy.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
public static RetryStrategy.Builder builder()
public static Class<? extends RetryStrategy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.