Class RefreshRetryTokenRequestImpl.Builder
- java.lang.Object
-
- software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl.Builder
-
- All Implemented Interfaces:
RefreshRetryTokenRequest.Builder,Buildable,CopyableBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>,SdkBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
- Enclosing class:
- RefreshRetryTokenRequestImpl
public static final class RefreshRetryTokenRequestImpl.Builder extends Object implements RefreshRetryTokenRequest.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefreshRetryTokenRequestImplbuild()Builds and returns a new instance of .RefreshRetryTokenRequestImpl.Builderfailure(Throwable throwable)Configures the latest caught exception.RefreshRetryTokenRequestImpl.BuildersuggestedDelay(Duration duration)Configures the suggested delay to used when refreshing the token.RefreshRetryTokenRequestImpl.Buildertoken(RetryToken token)Configures theRetryTokento be refreshed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
token
public RefreshRetryTokenRequestImpl.Builder token(RetryToken token)
Description copied from interface:RefreshRetryTokenRequest.BuilderConfigures theRetryTokento be refreshed.- Specified by:
tokenin interfaceRefreshRetryTokenRequest.Builder
-
suggestedDelay
public RefreshRetryTokenRequestImpl.Builder suggestedDelay(Duration duration)
Description copied from interface:RefreshRetryTokenRequest.BuilderConfigures the suggested delay to used when refreshing the token.- Specified by:
suggestedDelayin interfaceRefreshRetryTokenRequest.Builder
-
failure
public RefreshRetryTokenRequestImpl.Builder failure(Throwable throwable)
Description copied from interface:RefreshRetryTokenRequest.BuilderConfigures the latest caught exception.- Specified by:
failurein interfaceRefreshRetryTokenRequest.Builder
-
build
public RefreshRetryTokenRequestImpl build()
Description copied from interface:RefreshRetryTokenRequest.BuilderBuilds and returns a new instance of .- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceRefreshRetryTokenRequest.Builder- Specified by:
buildin interfaceSdkBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
-
-