Interface LambdaConfigType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaConfigType.Builder,
,LambdaConfigType> SdkBuilder<LambdaConfigType.Builder,
,LambdaConfigType> SdkPojo
- Enclosing class:
LambdaConfigType
-
Method Summary
Modifier and TypeMethodDescriptioncreateAuthChallenge
(String createAuthChallenge) Creates an authentication challenge.default LambdaConfigType.Builder
customEmailSender
(Consumer<CustomEmailLambdaVersionConfigType.Builder> customEmailSender) A custom email sender Lambda trigger.customEmailSender
(CustomEmailLambdaVersionConfigType customEmailSender) A custom email sender Lambda trigger.customMessage
(String customMessage) A custom Message Lambda trigger.default LambdaConfigType.Builder
customSMSSender
(Consumer<CustomSMSLambdaVersionConfigType.Builder> customSMSSender) A custom SMS sender Lambda trigger.customSMSSender
(CustomSMSLambdaVersionConfigType customSMSSender) A custom SMS sender Lambda trigger.defineAuthChallenge
(String defineAuthChallenge) Defines the authentication challenge.The Amazon Resource Name (ARN) of an KMS key.postAuthentication
(String postAuthentication) A post-authentication Lambda trigger.postConfirmation
(String postConfirmation) A post-confirmation Lambda trigger.preAuthentication
(String preAuthentication) A pre-authentication Lambda trigger.A pre-registration Lambda trigger.preTokenGeneration
(String preTokenGeneration) The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.default LambdaConfigType.Builder
preTokenGenerationConfig
(Consumer<PreTokenGenerationVersionConfigType.Builder> preTokenGenerationConfig) The detailed configuration of a pre token generation trigger.preTokenGenerationConfig
(PreTokenGenerationVersionConfigType preTokenGenerationConfig) The detailed configuration of a pre token generation trigger.userMigration
(String userMigration) The user migration Lambda config type.verifyAuthChallengeResponse
(String verifyAuthChallengeResponse) Verifies the authentication challenge response.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 Details
-
preSignUp
A pre-registration Lambda trigger.
- Parameters:
preSignUp
- A pre-registration Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMessage
A custom Message Lambda trigger.
- Parameters:
customMessage
- A custom Message Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postConfirmation
A post-confirmation Lambda trigger.
- Parameters:
postConfirmation
- A post-confirmation Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preAuthentication
A pre-authentication Lambda trigger.
- Parameters:
preAuthentication
- A pre-authentication Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postAuthentication
A post-authentication Lambda trigger.
- Parameters:
postAuthentication
- A post-authentication Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defineAuthChallenge
Defines the authentication challenge.
- Parameters:
defineAuthChallenge
- Defines the authentication challenge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createAuthChallenge
Creates an authentication challenge.
- Parameters:
createAuthChallenge
- Creates an authentication challenge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifyAuthChallengeResponse
Verifies the authentication challenge response.
- Parameters:
verifyAuthChallengeResponse
- Verifies the authentication challenge response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preTokenGeneration
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set
- Parameters:
preTokenGeneration
- The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig
, its value must be identical toPreTokenGeneration
. For new instances of pre token generation triggers, set theLambdaArn
ofPreTokenGenerationConfig
.You can set
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMigration
The user migration Lambda config type.
- Parameters:
userMigration
- The user migration Lambda config type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preTokenGenerationConfig
LambdaConfigType.Builder preTokenGenerationConfig(PreTokenGenerationVersionConfigType preTokenGenerationConfig) The detailed configuration of a pre token generation trigger. If you also set an ARN in
PreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
.- Parameters:
preTokenGenerationConfig
- The detailed configuration of a pre token generation trigger. If you also set an ARN inPreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preTokenGenerationConfig
default LambdaConfigType.Builder preTokenGenerationConfig(Consumer<PreTokenGenerationVersionConfigType.Builder> preTokenGenerationConfig) The detailed configuration of a pre token generation trigger. If you also set an ARN in
This is a convenience method that creates an instance of thePreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
.PreTokenGenerationVersionConfigType.Builder
avoiding the need to create one manually viaPreTokenGenerationVersionConfigType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreTokenGenerationConfig(PreTokenGenerationVersionConfigType)
.- Parameters:
preTokenGenerationConfig
- a consumer that will call methods onPreTokenGenerationVersionConfigType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customSMSSender
A custom SMS sender Lambda trigger.
- Parameters:
customSMSSender
- A custom SMS sender Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customSMSSender
default LambdaConfigType.Builder customSMSSender(Consumer<CustomSMSLambdaVersionConfigType.Builder> customSMSSender) A custom SMS sender Lambda trigger.
This is a convenience method that creates an instance of theCustomSMSLambdaVersionConfigType.Builder
avoiding the need to create one manually viaCustomSMSLambdaVersionConfigType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomSMSSender(CustomSMSLambdaVersionConfigType)
.- Parameters:
customSMSSender
- a consumer that will call methods onCustomSMSLambdaVersionConfigType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customEmailSender
A custom email sender Lambda trigger.
- Parameters:
customEmailSender
- A custom email sender Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customEmailSender
default LambdaConfigType.Builder customEmailSender(Consumer<CustomEmailLambdaVersionConfigType.Builder> customEmailSender) A custom email sender Lambda trigger.
This is a convenience method that creates an instance of theCustomEmailLambdaVersionConfigType.Builder
avoiding the need to create one manually viaCustomEmailLambdaVersionConfigType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomEmailSender(CustomEmailLambdaVersionConfigType)
.- Parameters:
customEmailSender
- a consumer that will call methods onCustomEmailLambdaVersionConfigType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyID
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
.- Parameters:
kmsKeyID
- The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent toCustomEmailSender
andCustomSMSSender
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-