Interface OidcIdentityProviderConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OidcIdentityProviderConfig.Builder,OidcIdentityProviderConfig>,SdkBuilder<OidcIdentityProviderConfig.Builder,OidcIdentityProviderConfig>,SdkPojo
- Enclosing class:
- OidcIdentityProviderConfig
public static interface OidcIdentityProviderConfig.Builder extends SdkPojo, CopyableBuilder<OidcIdentityProviderConfig.Builder,OidcIdentityProviderConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OidcIdentityProviderConfig.BuilderclientId(String clientId)This is also known as audience.OidcIdentityProviderConfig.BuilderclusterName(String clusterName)The cluster that the configuration is associated to.OidcIdentityProviderConfig.BuildergroupsClaim(String groupsClaim)The JSON web token (JWT) claim that the provider uses to return your groups.OidcIdentityProviderConfig.BuildergroupsPrefix(String groupsPrefix)The prefix that is prepended to group claims to prevent clashes with existing names (such assystem:groups).OidcIdentityProviderConfig.BuilderidentityProviderConfigArn(String identityProviderConfigArn)The ARN of the configuration.OidcIdentityProviderConfig.BuilderidentityProviderConfigName(String identityProviderConfigName)The name of the configuration.OidcIdentityProviderConfig.BuilderissuerUrl(String issuerUrl)The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.OidcIdentityProviderConfig.BuilderrequiredClaims(Map<String,String> requiredClaims)The key-value pairs that describe required claims in the identity token.OidcIdentityProviderConfig.Builderstatus(String status)The status of the OIDC identity provider.OidcIdentityProviderConfig.Builderstatus(ConfigStatus status)The status of the OIDC identity provider.OidcIdentityProviderConfig.Buildertags(Map<String,String> tags)The metadata to apply to the provider configuration to assist with categorization and organization.OidcIdentityProviderConfig.BuilderusernameClaim(String usernameClaim)The JSON Web token (JWT) claim that is used as the username.OidcIdentityProviderConfig.BuilderusernamePrefix(String usernamePrefix)The prefix that is prepended to username claims to prevent clashes with existing names.-
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
-
identityProviderConfigName
OidcIdentityProviderConfig.Builder identityProviderConfigName(String identityProviderConfigName)
The name of the configuration.
- Parameters:
identityProviderConfigName- The name of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviderConfigArn
OidcIdentityProviderConfig.Builder identityProviderConfigArn(String identityProviderConfigArn)
The ARN of the configuration.
- Parameters:
identityProviderConfigArn- The ARN of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
OidcIdentityProviderConfig.Builder clusterName(String clusterName)
The cluster that the configuration is associated to.
- Parameters:
clusterName- The cluster that the configuration is associated to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuerUrl
OidcIdentityProviderConfig.Builder issuerUrl(String issuerUrl)
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.
- Parameters:
issuerUrl- The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
OidcIdentityProviderConfig.Builder clientId(String clientId)
This is also known as audience. The ID of the client application that makes authentication requests to the OIDC identity provider.
- Parameters:
clientId- This is also known as audience. The ID of the client application that makes authentication requests to the OIDC identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usernameClaim
OidcIdentityProviderConfig.Builder usernameClaim(String usernameClaim)
The JSON Web token (JWT) claim that is used as the username.
- Parameters:
usernameClaim- The JSON Web token (JWT) claim that is used as the username.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usernamePrefix
OidcIdentityProviderConfig.Builder usernamePrefix(String usernamePrefix)
The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't contain
system:- Parameters:
usernamePrefix- The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't containsystem:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupsClaim
OidcIdentityProviderConfig.Builder groupsClaim(String groupsClaim)
The JSON web token (JWT) claim that the provider uses to return your groups.
- Parameters:
groupsClaim- The JSON web token (JWT) claim that the provider uses to return your groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupsPrefix
OidcIdentityProviderConfig.Builder groupsPrefix(String groupsPrefix)
The prefix that is prepended to group claims to prevent clashes with existing names (such as
system:groups). For example, the valueoidc:creates group names likeoidc:engineeringandoidc:infra. The prefix can't containsystem:- Parameters:
groupsPrefix- The prefix that is prepended to group claims to prevent clashes with existing names (such assystem:groups). For example, the valueoidc:creates group names likeoidc:engineeringandoidc:infra. The prefix can't containsystem:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredClaims
OidcIdentityProviderConfig.Builder requiredClaims(Map<String,String> requiredClaims)
The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.
- Parameters:
requiredClaims- The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
OidcIdentityProviderConfig.Builder tags(Map<String,String> tags)
The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.
- Parameters:
tags- The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value. You define both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
OidcIdentityProviderConfig.Builder status(String status)
The status of the OIDC identity provider.
- Parameters:
status- The status of the OIDC identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigStatus,ConfigStatus
-
status
OidcIdentityProviderConfig.Builder status(ConfigStatus status)
The status of the OIDC identity provider.
- Parameters:
status- The status of the OIDC identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigStatus,ConfigStatus
-
-