Interface OpenIdConnectConfigurationItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenIdConnectConfigurationItem.Builder,OpenIdConnectConfigurationItem>,SdkBuilder<OpenIdConnectConfigurationItem.Builder,OpenIdConnectConfigurationItem>,SdkPojo
- Enclosing class:
- OpenIdConnectConfigurationItem
public static interface OpenIdConnectConfigurationItem.Builder extends SdkPojo, CopyableBuilder<OpenIdConnectConfigurationItem.Builder,OpenIdConnectConfigurationItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpenIdConnectConfigurationItem.BuilderentityIdPrefix(String entityIdPrefix)A descriptive string that you want to prefix to user entities from your OIDC identity provider.default OpenIdConnectConfigurationItem.BuildergroupConfiguration(Consumer<OpenIdConnectGroupConfigurationItem.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.OpenIdConnectConfigurationItem.BuildergroupConfiguration(OpenIdConnectGroupConfigurationItem 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.OpenIdConnectConfigurationItem.Builderissuer(String issuer)The issuer URL of an OIDC identity provider.default OpenIdConnectConfigurationItem.BuildertokenSelection(Consumer<OpenIdConnectTokenSelectionItem.Builder> tokenSelection)The token type that you want to process from your OIDC identity provider.OpenIdConnectConfigurationItem.BuildertokenSelection(OpenIdConnectTokenSelectionItem 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, sdkFields
-
-
-
-
Method Detail
-
issuer
OpenIdConnectConfigurationItem.Builder issuer(String 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
OpenIdConnectConfigurationItem.Builder entityIdPrefix(String entityIdPrefix)
A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an
entityIdPrefixofMyOIDCProvider, 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 anentityIdPrefixofMyOIDCProvider, 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
OpenIdConnectConfigurationItem.Builder groupConfiguration(OpenIdConnectGroupConfigurationItem 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
groupsclaim 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 agroupsclaim toMyCorp::UserGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
default OpenIdConnectConfigurationItem.Builder groupConfiguration(Consumer<OpenIdConnectGroupConfigurationItem.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 thegroupsclaim toMyCorp::UserGroup.OpenIdConnectGroupConfigurationItem.Builderavoiding the need to create one manually viaOpenIdConnectGroupConfigurationItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupConfiguration(OpenIdConnectGroupConfigurationItem).- Parameters:
groupConfiguration- a consumer that will call methods onOpenIdConnectGroupConfigurationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
groupConfiguration(OpenIdConnectGroupConfigurationItem)
-
tokenSelection
OpenIdConnectConfigurationItem.Builder tokenSelection(OpenIdConnectTokenSelectionItem 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 OpenIdConnectConfigurationItem.Builder tokenSelection(Consumer<OpenIdConnectTokenSelectionItem.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 theOpenIdConnectTokenSelectionItem.Builderavoiding the need to create one manually viaOpenIdConnectTokenSelectionItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenSelection(OpenIdConnectTokenSelectionItem).- Parameters:
tokenSelection- a consumer that will call methods onOpenIdConnectTokenSelectionItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tokenSelection(OpenIdConnectTokenSelectionItem)
-
-