Interface LambdaConfigType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>,SdkBuilder<LambdaConfigType.Builder,LambdaConfigType>,SdkPojo
- Enclosing class:
- LambdaConfigType
public static interface LambdaConfigType.Builder extends SdkPojo, CopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LambdaConfigType.BuildercreateAuthChallenge(String createAuthChallenge)Creates an authentication challenge.default LambdaConfigType.BuildercustomEmailSender(Consumer<CustomEmailLambdaVersionConfigType.Builder> customEmailSender)A custom email sender Lambda trigger.LambdaConfigType.BuildercustomEmailSender(CustomEmailLambdaVersionConfigType customEmailSender)A custom email sender Lambda trigger.LambdaConfigType.BuildercustomMessage(String customMessage)A custom Message Lambda trigger.default LambdaConfigType.BuildercustomSMSSender(Consumer<CustomSMSLambdaVersionConfigType.Builder> customSMSSender)A custom SMS sender Lambda trigger.LambdaConfigType.BuildercustomSMSSender(CustomSMSLambdaVersionConfigType customSMSSender)A custom SMS sender Lambda trigger.LambdaConfigType.BuilderdefineAuthChallenge(String defineAuthChallenge)Defines the authentication challenge.LambdaConfigType.BuilderkmsKeyID(String kmsKeyID)The Amazon Resource Name (ARN) of an KMS key.LambdaConfigType.BuilderpostAuthentication(String postAuthentication)A post-authentication Lambda trigger.LambdaConfigType.BuilderpostConfirmation(String postConfirmation)A post-confirmation Lambda trigger.LambdaConfigType.BuilderpreAuthentication(String preAuthentication)A pre-authentication Lambda trigger.LambdaConfigType.BuilderpreSignUp(String preSignUp)A pre-registration Lambda trigger.LambdaConfigType.BuilderpreTokenGeneration(String preTokenGeneration)The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.default LambdaConfigType.BuilderpreTokenGenerationConfig(Consumer<PreTokenGenerationVersionConfigType.Builder> preTokenGenerationConfig)The detailed configuration of a pre token generation trigger.LambdaConfigType.BuilderpreTokenGenerationConfig(PreTokenGenerationVersionConfigType preTokenGenerationConfig)The detailed configuration of a pre token generation trigger.LambdaConfigType.BuilderuserMigration(String userMigration)The user migration Lambda config type.LambdaConfigType.BuilderverifyAuthChallengeResponse(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 Detail
-
preSignUp
LambdaConfigType.Builder preSignUp(String 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
LambdaConfigType.Builder customMessage(String 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
LambdaConfigType.Builder postConfirmation(String 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
LambdaConfigType.Builder preAuthentication(String 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
LambdaConfigType.Builder postAuthentication(String 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
LambdaConfigType.Builder defineAuthChallenge(String 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
LambdaConfigType.Builder createAuthChallenge(String 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
LambdaConfigType.Builder verifyAuthChallengeResponse(String 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
LambdaConfigType.Builder preTokenGeneration(String 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 theLambdaArnofPreTokenGenerationConfig.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 theLambdaArnofPreTokenGenerationConfig.You can set
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMigration
LambdaConfigType.Builder userMigration(String 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.Builderavoiding the need to create one manually viaPreTokenGenerationVersionConfigType.builder().When the
Consumercompletes,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:
preTokenGenerationConfig(PreTokenGenerationVersionConfigType)
-
customSMSSender
LambdaConfigType.Builder customSMSSender(CustomSMSLambdaVersionConfigType 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.Builderavoiding the need to create one manually viaCustomSMSLambdaVersionConfigType.builder().When the
Consumercompletes,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:
customSMSSender(CustomSMSLambdaVersionConfigType)
-
customEmailSender
LambdaConfigType.Builder customEmailSender(CustomEmailLambdaVersionConfigType 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.Builderavoiding the need to create one manually viaCustomEmailLambdaVersionConfigType.builder().When the
Consumercompletes,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:
customEmailSender(CustomEmailLambdaVersionConfigType)
-
kmsKeyID
LambdaConfigType.Builder kmsKeyID(String kmsKeyID)
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSenderandCustomSMSSender.- Parameters:
kmsKeyID- The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent toCustomEmailSenderandCustomSMSSender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-