Uses of Class
software.amazon.awssdk.awscore.internal.token.CachedTokenRefresher.Builder
Packages that use CachedTokenRefresher.Builder
-
Uses of CachedTokenRefresher.Builder in software.amazon.awssdk.awscore.internal.token
Methods in software.amazon.awssdk.awscore.internal.token that return CachedTokenRefresher.BuilderModifier and TypeMethodDescriptionCachedTokenRefresher.Builder.asyncRefreshEnabled(Boolean asyncRefreshEnabled) Configure whether this refresher should fetch tokens asynchronously in the background.static CachedTokenRefresher.BuilderCachedTokenRefresher.builder()Builder method to construct instance of CachedTokenRefresher.CachedTokenRefresher.Builder.exceptionHandler(Function<SdkException, TokenT> exceptionHandler) CachedTokenRefresher.Builder.prefetchTime(Duration prefetchTime) Configure the amount of time, relative to SSO session token expiration, that the cached credentials are considered close to stale and should be updated.CachedTokenRefresher.Builder.staleDuration(Duration staleDuration) CachedTokenRefresher.Builder.tokenRetriever(Supplier<TokenT> tokenRetriever)