Interface AcquireInitialTokenResponse
- All Known Implementing Classes:
AcquireInitialTokenResponseImpl
Encapsulates the response from the
RetryStrategy to the request to start the attempts to be executed.-
Method Summary
Modifier and TypeMethodDescriptionstatic AcquireInitialTokenResponsecreate(RetryToken token, Duration delay) Creates a newAcquireInitialTokenRequestinstance with the given scope.delay()The amount of time to wait before performing the first attempt.token()ARetryTokenacquired by this invocation, used in subsequentRetryStrategy.refreshRetryToken(software.amazon.awssdk.retries.api.RefreshRetryTokenRequest)orRetryStrategy.recordSuccess(software.amazon.awssdk.retries.api.RecordSuccessRequest)calls.
-
Method Details
-
token
RetryToken token()ARetryTokenacquired by this invocation, used in subsequentRetryStrategy.refreshRetryToken(software.amazon.awssdk.retries.api.RefreshRetryTokenRequest)orRetryStrategy.recordSuccess(software.amazon.awssdk.retries.api.RecordSuccessRequest)calls. -
delay
Duration delay()The amount of time to wait before performing the first attempt. -
create
Creates a newAcquireInitialTokenRequestinstance with the given scope.
-