Interface AdditionalAuthenticationProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdditionalAuthenticationProvider.Builder,,AdditionalAuthenticationProvider> SdkBuilder<AdditionalAuthenticationProvider.Builder,,AdditionalAuthenticationProvider> SdkPojo
- Enclosing class:
AdditionalAuthenticationProvider
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType(String authenticationType) The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.authenticationType(AuthenticationType authenticationType) The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig) Configuration for Lambda function authorization.lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig) Configuration for Lambda function authorization.openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig) The OIDC configuration.openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig) The OIDC configuration.userPoolConfig(Consumer<CognitoUserPoolConfig.Builder> userPoolConfig) The Amazon Cognito user pool configuration.userPoolConfig(CognitoUserPoolConfig userPoolConfig) The Amazon Cognito user pool configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authenticationType
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
- Parameters:
authenticationType- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
- Parameters:
authenticationType- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openIDConnectConfig
AdditionalAuthenticationProvider.Builder openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig) The OIDC configuration.
- Parameters:
openIDConnectConfig- The OIDC configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIDConnectConfig
default AdditionalAuthenticationProvider.Builder openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig) The OIDC configuration.
This is a convenience method that creates an instance of theOpenIDConnectConfig.Builderavoiding the need to create one manually viaOpenIDConnectConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopenIDConnectConfig(OpenIDConnectConfig).- Parameters:
openIDConnectConfig- a consumer that will call methods onOpenIDConnectConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userPoolConfig
The Amazon Cognito user pool configuration.
- Parameters:
userPoolConfig- The Amazon Cognito user pool configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolConfig
default AdditionalAuthenticationProvider.Builder userPoolConfig(Consumer<CognitoUserPoolConfig.Builder> userPoolConfig) The Amazon Cognito user pool configuration.
This is a convenience method that creates an instance of theCognitoUserPoolConfig.Builderavoiding the need to create one manually viaCognitoUserPoolConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserPoolConfig(CognitoUserPoolConfig).- Parameters:
userPoolConfig- a consumer that will call methods onCognitoUserPoolConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaAuthorizerConfig
AdditionalAuthenticationProvider.Builder lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig) Configuration for Lambda function authorization.
- Parameters:
lambdaAuthorizerConfig- Configuration for Lambda function authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAuthorizerConfig
default AdditionalAuthenticationProvider.Builder lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig) Configuration for Lambda function authorization.
This is a convenience method that creates an instance of theLambdaAuthorizerConfig.Builderavoiding the need to create one manually viaLambdaAuthorizerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaAuthorizerConfig(LambdaAuthorizerConfig).- Parameters:
lambdaAuthorizerConfig- a consumer that will call methods onLambdaAuthorizerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-