Interface RefreshRetryTokenRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RefreshRetryTokenRequest.Builder,,RefreshRetryTokenRequest> SdkBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
- All Known Implementing Classes:
RefreshRetryTokenRequestImpl.Builder
- Enclosing interface:
RefreshRetryTokenRequest
public static interface RefreshRetryTokenRequest.Builder
extends CopyableBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns a new instance of .Configures the latest caught exception.default RefreshRetryTokenRequest.BuilderisLongPolling(boolean isLongPolling) Configures whether this refresh request is for a long polling operation.default RefreshRetryTokenRequest.BuilderoperationName(String operationName) Configures the name of the operation that is being retried.suggestedDelay(Duration duration) Configures the suggested delay to used when refreshing the token.token(RetryToken token) Configures theRetryTokento be refreshed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
token
Configures theRetryTokento be refreshed. -
suggestedDelay
Configures the suggested delay to used when refreshing the token. -
isLongPolling
Configures whether this refresh request is for a long polling operation. The default implementation is a no-op. -
operationName
Configures the name of the operation that is being retried. The default implementation is a no-op. -
failure
Configures the latest caught exception. -
build
RefreshRetryTokenRequest build()Builds and returns a new instance of .- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<RefreshRetryTokenRequest.Builder,RefreshRetryTokenRequest> - Returns:
- an instance of T
-