Interface OAuthUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OAuthUpdate.Builder,
,OAuthUpdate> SdkBuilder<OAuthUpdate.Builder,
,OAuthUpdate> SdkPojo
- Enclosing class:
OAuthUpdate
@Mutable
@NotThreadSafe
public static interface OAuthUpdate.Builder
extends SdkPojo, CopyableBuilder<OAuthUpdate.Builder,OAuthUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionoAuthCompleteRedirectUrl
(String oAuthCompleteRedirectUrl) The updated URL where users are redirected after completing the OAuth authorization process.default OAuthUpdate.Builder
proactiveRefreshTokenRenewal
(Consumer<ProactiveRefreshTokenRenewal.Builder> proactiveRefreshTokenRenewal) Updated configuration for proactively refreshing OAuth tokens before they expire.proactiveRefreshTokenRenewal
(ProactiveRefreshTokenRenewal proactiveRefreshTokenRenewal) Updated configuration for proactively refreshing OAuth tokens before they expire.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
oAuthCompleteRedirectUrl
The updated URL where users are redirected after completing the OAuth authorization process.
- Parameters:
oAuthCompleteRedirectUrl
- The updated URL where users are redirected after completing the OAuth authorization process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveRefreshTokenRenewal
OAuthUpdate.Builder proactiveRefreshTokenRenewal(ProactiveRefreshTokenRenewal proactiveRefreshTokenRenewal) Updated configuration for proactively refreshing OAuth tokens before they expire.
- Parameters:
proactiveRefreshTokenRenewal
- Updated configuration for proactively refreshing OAuth tokens before they expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveRefreshTokenRenewal
default OAuthUpdate.Builder proactiveRefreshTokenRenewal(Consumer<ProactiveRefreshTokenRenewal.Builder> proactiveRefreshTokenRenewal) Updated configuration for proactively refreshing OAuth tokens before they expire.
This is a convenience method that creates an instance of theProactiveRefreshTokenRenewal.Builder
avoiding the need to create one manually viaProactiveRefreshTokenRenewal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproactiveRefreshTokenRenewal(ProactiveRefreshTokenRenewal)
.- Parameters:
proactiveRefreshTokenRenewal
- a consumer that will call methods onProactiveRefreshTokenRenewal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-