Interface UpdateOpenIdConnectTokenSelection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateOpenIdConnectTokenSelection.Builder,
,UpdateOpenIdConnectTokenSelection> SdkBuilder<UpdateOpenIdConnectTokenSelection.Builder,
,UpdateOpenIdConnectTokenSelection> SdkPojo
- Enclosing class:
UpdateOpenIdConnectTokenSelection
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenOnly
(Consumer<UpdateOpenIdConnectAccessTokenConfiguration.Builder> accessTokenOnly) The OIDC configuration for processing access tokens.accessTokenOnly
(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly) The OIDC configuration for processing access tokens.identityTokenOnly
(Consumer<UpdateOpenIdConnectIdentityTokenConfiguration.Builder> identityTokenOnly) The OIDC configuration for processing identity (ID) tokens.identityTokenOnly
(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly) The OIDC configuration for processing identity (ID) tokens.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
-
accessTokenOnly
UpdateOpenIdConnectTokenSelection.Builder accessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly) The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Parameters:
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for examplehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTokenOnly
default UpdateOpenIdConnectTokenSelection.Builder accessTokenOnly(Consumer<UpdateOpenIdConnectAccessTokenConfiguration.Builder> accessTokenOnly) The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
This is a convenience method that creates an instance of thehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.UpdateOpenIdConnectAccessTokenConfiguration.Builder
avoiding the need to create one manually viaUpdateOpenIdConnectAccessTokenConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration)
.- Parameters:
accessTokenOnly
- a consumer that will call methods onUpdateOpenIdConnectAccessTokenConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityTokenOnly
UpdateOpenIdConnectTokenSelection.Builder identityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly) The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Parameters:
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityTokenOnly
default UpdateOpenIdConnectTokenSelection.Builder identityTokenOnly(Consumer<UpdateOpenIdConnectIdentityTokenConfiguration.Builder> identityTokenOnly) The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
This is a convenience method that creates an instance of the1example23456789
, and the claim that you want to map to the principal, for examplesub
.UpdateOpenIdConnectIdentityTokenConfiguration.Builder
avoiding the need to create one manually viaUpdateOpenIdConnectIdentityTokenConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration)
.- Parameters:
identityTokenOnly
- a consumer that will call methods onUpdateOpenIdConnectIdentityTokenConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-