Class DefaultLegacyRetryStrategy
java.lang.Object
software.amazon.awssdk.retries.internal.BaseRetryStrategy
software.amazon.awssdk.retries.internal.DefaultLegacyRetryStrategy
- All Implemented Interfaces:
RetryStrategy,DefaultAwareRetryStrategy,LegacyRetryStrategy
@SdkInternalApi
public final class DefaultLegacyRetryStrategy
extends BaseRetryStrategy
implements LegacyRetryStrategy
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a newRetryStrategy.Builderwith the current configuration.Methods inherited from class software.amazon.awssdk.retries.internal.BaseRetryStrategy
acquireInitialToken, addDefaults, hasRetryPredicates, maxAttempts, recordSuccess, refreshRetryToken, retryPredicates, shouldAddDefaults, toString, useClientDefaultsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.retries.api.RetryStrategy
acquireInitialToken, maxAttempts, recordSuccess, refreshRetryToken, useClientDefaults
-
Method Details
-
toBuilder
Description copied from interface:RetryStrategyCreate a newRetryStrategy.Builderwith the current configuration.This is useful for modifying the strategy's behavior, like conditions or max retries.
- Specified by:
toBuilderin interfaceLegacyRetryStrategy- Specified by:
toBuilderin interfaceRetryStrategy
-
builder
-