Class RetryPolicy

java.lang.Object
software.amazon.awssdk.core.retry.RetryPolicy
All Implemented Interfaces:
ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>

@Immutable public final class RetryPolicy extends Object implements ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
Interface for specifying a retry policy to use when evaluating whether or not a request should be retried. The builder()} can be used to construct a retry policy from SDK provided policies or policies that directly implement BackoffStrategy and/or RetryCondition. This is configured on a client via ClientOverrideConfiguration.Builder.retryPolicy(software.amazon.awssdk.core.retry.RetryPolicy). When using the builder() the SDK will use default values for fields that are not provided. The default number of retries and condition is based on the current RetryMode.
See Also: