Interface OpenIdConnectConfigurationDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenIdConnectConfigurationDetail.Builder,OpenIdConnectConfigurationDetail>,SdkBuilder<OpenIdConnectConfigurationDetail.Builder,OpenIdConnectConfigurationDetail>,SdkPojo
- Enclosing class:
- OpenIdConnectConfigurationDetail
public static interface OpenIdConnectConfigurationDetail.Builder extends SdkPojo, CopyableBuilder<OpenIdConnectConfigurationDetail.Builder,OpenIdConnectConfigurationDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpenIdConnectConfigurationDetail.BuilderentityIdPrefix(String entityIdPrefix)A descriptive string that you want to prefix to user entities from your OIDC identity provider.default OpenIdConnectConfigurationDetail.BuildergroupConfiguration(Consumer<OpenIdConnectGroupConfigurationDetail.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.OpenIdConnectConfigurationDetail.BuildergroupConfiguration(OpenIdConnectGroupConfigurationDetail 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.OpenIdConnectConfigurationDetail.Builderissuer(String issuer)The issuer URL of an OIDC identity provider.default OpenIdConnectConfigurationDetail.BuildertokenSelection(Consumer<OpenIdConnectTokenSelectionDetail.Builder> tokenSelection)The token type that you want to process from your OIDC identity provider.OpenIdConnectConfigurationDetail.BuildertokenSelection(OpenIdConnectTokenSelectionDetail 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
OpenIdConnectConfigurationDetail.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
OpenIdConnectConfigurationDetail.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
OpenIdConnectConfigurationDetail.Builder groupConfiguration(OpenIdConnectGroupConfigurationDetail 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 OpenIdConnectConfigurationDetail.Builder groupConfiguration(Consumer<OpenIdConnectGroupConfigurationDetail.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.OpenIdConnectGroupConfigurationDetail.Builderavoiding the need to create one manually viaOpenIdConnectGroupConfigurationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupConfiguration(OpenIdConnectGroupConfigurationDetail).- Parameters:
groupConfiguration- a consumer that will call methods onOpenIdConnectGroupConfigurationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
groupConfiguration(OpenIdConnectGroupConfigurationDetail)
-
tokenSelection
OpenIdConnectConfigurationDetail.Builder tokenSelection(OpenIdConnectTokenSelectionDetail 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 OpenIdConnectConfigurationDetail.Builder tokenSelection(Consumer<OpenIdConnectTokenSelectionDetail.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 theOpenIdConnectTokenSelectionDetail.Builderavoiding the need to create one manually viaOpenIdConnectTokenSelectionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenSelection(OpenIdConnectTokenSelectionDetail).- Parameters:
tokenSelection- a consumer that will call methods onOpenIdConnectTokenSelectionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tokenSelection(OpenIdConnectTokenSelectionDetail)
-
-