@Generated(value="software.amazon.awssdk:codegen") public final class RetryStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
The retry strategy associated with a job.
Modifier and Type | Class and Description |
---|---|
static interface |
RetryStrategy.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
attempts()
The number of times to move a job to the
RUNNABLE status. |
static RetryStrategy.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetryStrategy.Builder> |
serializableBuilderClass() |
RetryStrategy.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer attempts()
The number of times to move a job to the RUNNABLE
status. You may specify between 1 and 10 attempts.
If the value of attempts
is greater than one, the job is retried on failure the same number of
attempts as the value.
RUNNABLE
status. You may specify between 1 and 10
attempts. If the value of attempts
is greater than one, the job is retried on failure the
same number of attempts as the value.public RetryStrategy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
public static RetryStrategy.Builder builder()
public static Class<? extends RetryStrategy.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.