Interface AcquireInitialTokenResponse
-
- All Known Implementing Classes:
AcquireInitialTokenResponseImpl
@SdkPublicApi @ThreadSafe public interface AcquireInitialTokenResponse
Encapsulates the response from theRetryStrategyto the request to start the attempts to be executed.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static AcquireInitialTokenResponsecreate(RetryToken token, Duration delay)Creates a newAcquireInitialTokenRequestinstance with the given scope.Durationdelay()The amount of time to wait before performing the first attempt.RetryTokentoken()ARetryTokenacquired by this invocation, used in subsequentRetryStrategy.refreshRetryToken(software.amazon.awssdk.retries.api.RefreshRetryTokenRequest)orRetryStrategy.recordSuccess(software.amazon.awssdk.retries.api.RecordSuccessRequest)calls.
-
-
-
Method Detail
-
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
static AcquireInitialTokenResponse create(RetryToken token, Duration delay)
Creates a newAcquireInitialTokenRequestinstance with the given scope.
-
-