Interface RefreshTokenRotationType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RefreshTokenRotationType.Builder,,RefreshTokenRotationType> SdkBuilder<RefreshTokenRotationType.Builder,,RefreshTokenRotationType> SdkPojo
- Enclosing class:
- RefreshTokenRotationType
@Mutable
@NotThreadSafe
public static interface RefreshTokenRotationType.Builder
extends SdkPojo, CopyableBuilder<RefreshTokenRotationType.Builder,RefreshTokenRotationType>
-
Method Summary
Modifier and TypeMethodDescriptionThe state of refresh token rotation for the current app client.feature(FeatureType feature) The state of refresh token rotation for the current app client.retryGracePeriodSeconds(Integer retryGracePeriodSeconds) When you request a token refresh withGetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
feature
The state of refresh token rotation for the current app client.
- Parameters:
feature- The state of refresh token rotation for the current app client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feature
The state of refresh token rotation for the current app client.
- Parameters:
feature- The state of refresh token rotation for the current app client.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryGracePeriodSeconds
When you request a token refresh with
GetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. WhenRetryGracePeriodSecondsis0, the grace period is disabled and a successful request immediately invalidates the submitted refresh token.- Parameters:
retryGracePeriodSeconds- When you request a token refresh withGetTokensFromRefreshToken, the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. WhenRetryGracePeriodSecondsis0, the grace period is disabled and a successful request immediately invalidates the submitted refresh token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-