Class RetryPolicy
java.lang.Object
software.amazon.awssdk.services.scheduler.model.RetryPolicy
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RetryPolicy.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum amount of time, in seconds, to continue to make retry attempts.final IntegerThe maximum number of retry attempts to make before the request fails.static Class<? extends RetryPolicy.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
maximumEventAgeInSeconds
The maximum amount of time, in seconds, to continue to make retry attempts.
- Returns:
- The maximum amount of time, in seconds, to continue to make retry attempts.
-
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
MaximumEventAgeInSecondsis reached.- Returns:
- 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
MaximumEventAgeInSecondsis reached.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-