@Generated(value="software.amazon.awssdk:codegen") public final class RetryPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
A RetryPolicy object that includes information about the retry policy settings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RetryPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
|
Integer |
maximumRetryAttempts()
The maximum number of retry attempts to make before the request fails.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetryPolicy.Builder> |
serializableBuilderClass() |
RetryPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer maximumRetryAttempts()
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the
maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
MaximumEventAgeInSeconds is met.public Integer maximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
public RetryPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>public static RetryPolicy.Builder builder()
public static Class<? extends RetryPolicy.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.