| Modifier and Type | Method and Description |
|---|---|
static RetryStrategy |
AwsRetryStrategy.forRetryMode(RetryMode mode)
Retrieve the appropriate retry strategy for the retry mode with AWS-specific conditions added.
|
static RetryPolicy |
AwsRetryPolicy.forRetryMode(RetryMode retryMode)
Deprecated.
Retrieve the
RetryPolicy.defaultRetryPolicy() with AWS-specific conditions added. |
| Modifier and Type | Field and Description |
|---|---|
static SdkClientOption<RetryMode> |
SdkClientOption.CONFIGURED_RETRY_MODE
The retry mode set by the customer using
ClientOverrideConfiguration.Builder.retryStrategy(RetryMode). |
static SdkClientOption<RetryMode> |
SdkClientOption.DEFAULT_RETRY_MODE
Option to specify the default retry mode.
|
| Modifier and Type | Method and Description |
|---|---|
RetryMode |
ClientOverrideConfiguration.Builder.retryMode() |
| Modifier and Type | Method and Description |
|---|---|
Optional<RetryMode> |
ClientOverrideConfiguration.retryMode()
The optional retry mode that should be used when handling failure cases.
|
| Modifier and Type | Method and Description |
|---|---|
default ClientOverrideConfiguration.Builder |
ClientOverrideConfiguration.Builder.retryPolicy(RetryMode retryMode)
Deprecated.
|
default ClientOverrideConfiguration.Builder |
ClientOverrideConfiguration.Builder.retryStrategy(RetryMode retryMode)
Configure the retry mode used to resolve the corresponding
RetryStrategy that should be used when handling
failure cases. |
| Modifier and Type | Method and Description |
|---|---|
static RetryMode |
SdkDefaultRetryStrategy.retryMode(RetryStrategy retryStrategy)
Returns the
RetryMode for the given retry strategy. |
| Modifier and Type | Method and Description |
|---|---|
static Duration |
SdkDefaultRetrySetting.baseDelay(RetryMode retryMode) |
static RetryStrategy |
SdkDefaultRetryStrategy.forRetryMode(RetryMode mode)
Retrieve the appropriate retry strategy for the retry mode with AWS-specific conditions added.
|
static Integer |
SdkDefaultRetrySetting.maxAttempts(RetryMode retryMode) |
static Duration |
SdkDefaultRetrySetting.throttledBaseDelay(RetryMode retryMode) |
static TokenBucketExceptionCostFunction |
SdkDefaultRetrySetting.tokenCostFunction(RetryMode retryMode) |
| Modifier and Type | Method and Description |
|---|---|
static RetryMode |
RetryMode.defaultRetryMode()
Retrieve the default retry mode by consulting the locations described in
RetryMode, or LEGACY if no value is
configured. |
RetryMode |
RetryMode.Resolver.resolve()
Resolve which retry mode should be used, based on the configured values.
|
RetryMode |
RetryPolicy.retryMode()
Deprecated.
Retrieve the
RetryMode that was used to determine the defaults for this retry policy. |
static RetryMode |
RetryMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryMode[] |
RetryMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy.Builder |
RetryPolicy.builder(RetryMode retryMode)
Deprecated.
Create a
RetryPolicy.Builder populated with the defaults from the provided RetryMode. |
RetryMode.Resolver |
RetryMode.Resolver.defaultRetryMode(RetryMode defaultRetryMode)
Configure the
RetryMode that should be used if the mode is not specified anywhere else. |
static RetryPolicy |
RetryPolicy.forRetryMode(RetryMode retryMode)
Deprecated.
Create a
RetryPolicy using the provided RetryMode defaults. |
| Modifier and Type | Method and Description |
|---|---|
static BackoffStrategy |
BackoffStrategy.defaultStrategy(RetryMode retryMode)
Deprecated.
|
static BackoffStrategy |
BackoffStrategy.defaultThrottlingStrategy(RetryMode retryMode)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenBucketRetryCondition |
TokenBucketRetryCondition.forRetryMode(RetryMode retryMode)
Create a condition using the configured
RetryMode. |
static MaxNumberOfRetriesCondition |
MaxNumberOfRetriesCondition.forRetryMode(RetryMode retryMode) |
Copyright © 2026. All rights reserved.