Interface RetryPolicy.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RetryPolicy.Builder,,- RetryPolicy> - SdkBuilder<RetryPolicy.Builder,,- RetryPolicy> - SdkPojo
- Enclosing class:
- RetryPolicy
@Mutable
@NotThreadSafe
public static interface RetryPolicy.Builder
extends SdkPojo, CopyableBuilder<RetryPolicy.Builder,RetryPolicy> 
- 
Method SummaryModifier and TypeMethodDescriptionmaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds) The maximum amount of time, in seconds, to continue to make retry attempts.maximumRetryAttempts(Integer maximumRetryAttempts) The maximum number of retry attempts to make before the request fails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
maximumEventAgeInSecondsThe maximum amount of time, in seconds, to continue to make retry attempts. - Parameters:
- maximumEventAgeInSeconds- The maximum amount of time, in seconds, to continue to make retry attempts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maximumRetryAttemptsThe 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.- Parameters:
- 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:
- Returns a reference to this object so that method calls can be chained together.
 
 
-