StructuredPojo, ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>@Generated("software.amazon.awssdk:codegen") public class RetryStrategy extends Object implements StructuredPojo, ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>
The retry strategy associated with a job.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
RetryStrategy.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
Integer |
attempts() |
The number of times to move a job to the
RUNNABLE status. |
static RetryStrategy.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RetryStrategy.Builder,RetryStrategy>public static RetryStrategy.Builder builder()
public static Class<? extends RetryStrategy.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.