@Generated(value="software.amazon.awssdk:codegen") public final class RetryStrategy extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 attempts
is greater than one, the job is retried if it fails until it has moved to
RUNNABLE
that many times.
RUNNABLE
status. You may specify between 1 and 10
attempts. If attempts
is greater than one, the job is retried if it fails until it has moved
to RUNNABLE
that many times.public RetryStrategy.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
public static RetryStrategy.Builder builder()
public static Class<? extends RetryStrategy.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.