Uses of Class
software.amazon.awssdk.retries.internal.DefaultRetryToken.Builder
Packages that use DefaultRetryToken.Builder
-
Uses of DefaultRetryToken.Builder in software.amazon.awssdk.retries.internal
Methods in software.amazon.awssdk.retries.internal that return DefaultRetryToken.BuilderModifier and TypeMethodDescriptionDefaultRetryToken.Builder.addFailure(Throwable failure) Adds aThrowableto the retry-token.static DefaultRetryToken.BuilderDefaultRetryToken.builder()Returns a new builder to create new instances of theDefaultRetryTokenclass.DefaultRetryToken.Builder.capacityAcquired(int capacityAcquired) Sets the capacity acquired from the token bucket.DefaultRetryToken.Builder.capacityRemaining(int capacityRemaining) Sets the capacity remaining in the token bucket after the last acquire.DefaultRetryToken.Builder.increaseAttempt()Increments the current attempt count.Sets the scope of the retry token.DefaultRetryToken.Builder.state(DefaultRetryToken.TokenState state) Sets the state of the retry token.DefaultRetryToken.toBuilder()Creates a new builder to mutate the current instance.