@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, including the maximum
age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.
| 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 final Integer maximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
public final Integer maximumRetryAttempts()
The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff
continue until either the maximum number of attempts is made or until the duration of the
MaximumEventAgeInSeconds is reached.
MaximumEventAgeInSeconds is reached.public RetryPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>public static RetryPolicy.Builder builder()
public static Class<? extends RetryPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.