Interface DefaultAwareRetryStrategy
- All Superinterfaces:
RetryStrategy
- All Known Implementing Classes:
BaseRetryStrategy
,DefaultAdaptiveRetryStrategy
,DefaultLegacyRetryStrategy
,DefaultStandardRetryStrategy
Identify a
RetryStrategy
that has the capacity to work with sets of default retry predicates.
Implementation notes: this class should've been outside internal package, but we can't fix it due to backwards compatibility reasons.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddDefaults
(RetryStrategyDefaults retryStrategyDefaults) Add the specified defaults to this retry strategyMethods inherited from interface software.amazon.awssdk.retries.api.RetryStrategy
acquireInitialToken, maxAttempts, recordSuccess, refreshRetryToken, toBuilder, useClientDefaults
-
Method Details
-
addDefaults
Add the specified defaults to this retry strategy- Parameters:
retryStrategyDefaults
- the defaults to add to this strategy- Returns:
- a new retry strategy containing the specified defaults.
-