Interface RefreshRetryTokenRequest
- All Superinterfaces:
ToCopyableBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
- All Known Implementing Classes:
RefreshRetryTokenRequestImpl
@ThreadSafe
public interface RefreshRetryTokenRequest
extends ToCopyableBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
Request that the calling code makes to the
RetryStrategy using
RetryStrategy.refreshRetryToken(RefreshRetryTokenRequest) to notify that the attempted execution failed and the
RetryToken needs to be refreshed.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns a new builder to configure theRefreshRetryTokenRequestinstance.failure()The cause of the last attempt failure.A suggestion of how long to wait from the last attempt failure.token()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy, toBuilder
-
Method Details
-
token
RetryToken token() -
suggestedDelay
A suggestion of how long to wait from the last attempt failure. For HTTP calls, this is usually extracted from a "retry after" header from the downstream service. -
failure
Throwable failure()The cause of the last attempt failure. -
builder
Returns a new builder to configure theRefreshRetryTokenRequestinstance.
-