Interface UpdateOpenIdConnectConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateOpenIdConnectConfiguration.Builder,
,UpdateOpenIdConnectConfiguration> SdkBuilder<UpdateOpenIdConnectConfiguration.Builder,
,UpdateOpenIdConnectConfiguration> SdkPojo
- Enclosing class:
UpdateOpenIdConnectConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionentityIdPrefix
(String entityIdPrefix) A descriptive string that you want to prefix to user entities from your OIDC identity provider.groupConfiguration
(Consumer<UpdateOpenIdConnectGroupConfiguration.Builder> groupConfiguration) The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to.groupConfiguration
(UpdateOpenIdConnectGroupConfiguration groupConfiguration) The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to.The issuer URL of an OIDC identity provider.tokenSelection
(Consumer<UpdateOpenIdConnectTokenSelection.Builder> tokenSelection) The token type that you want to process from your OIDC identity provider.tokenSelection
(UpdateOpenIdConnectTokenSelection tokenSelection) The token type that you want to process from your OIDC identity provider.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
-
issuer
The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path
.well-known/openid-configuration
.- Parameters:
issuer
- The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path.well-known/openid-configuration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdPrefix
A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an
entityIdPrefix
ofMyOIDCProvider
, you can reference principals in your policies in the formatMyCorp::User::MyOIDCProvider|Carlos
.- Parameters:
entityIdPrefix
- A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set anentityIdPrefix
ofMyOIDCProvider
, you can reference principals in your policies in the formatMyCorp::User::MyOIDCProvider|Carlos
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
UpdateOpenIdConnectConfiguration.Builder groupConfiguration(UpdateOpenIdConnectGroupConfiguration groupConfiguration) The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a
groups
claim toMyCorp::UserGroup
.- Parameters:
groupConfiguration
- The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of agroups
claim toMyCorp::UserGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
default UpdateOpenIdConnectConfiguration.Builder groupConfiguration(Consumer<UpdateOpenIdConnectGroupConfiguration.Builder> groupConfiguration) The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a
This is a convenience method that creates an instance of thegroups
claim toMyCorp::UserGroup
.UpdateOpenIdConnectGroupConfiguration.Builder
avoiding the need to create one manually viaUpdateOpenIdConnectGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupConfiguration(UpdateOpenIdConnectGroupConfiguration)
.- Parameters:
groupConfiguration
- a consumer that will call methods onUpdateOpenIdConnectGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenSelection
UpdateOpenIdConnectConfiguration.Builder tokenSelection(UpdateOpenIdConnectTokenSelection tokenSelection) The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
- Parameters:
tokenSelection
- The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenSelection
default UpdateOpenIdConnectConfiguration.Builder tokenSelection(Consumer<UpdateOpenIdConnectTokenSelection.Builder> tokenSelection) The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
This is a convenience method that creates an instance of theUpdateOpenIdConnectTokenSelection.Builder
avoiding the need to create one manually viaUpdateOpenIdConnectTokenSelection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totokenSelection(UpdateOpenIdConnectTokenSelection)
.- Parameters:
tokenSelection
- a consumer that will call methods onUpdateOpenIdConnectTokenSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-