Class CfnUserPool.CustomEmailSenderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPool.CustomEmailSenderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
- Enclosing interface:
CfnUserPool.CustomEmailSenderProperty
@Stability(Stable)
public static final class CfnUserPool.CustomEmailSenderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
A builder for
CfnUserPool.CustomEmailSenderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaArn()
lambdaVersion
(String lambdaVersion) Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaArn
Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaArn()
- Parameters:
lambdaArn
- The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.- Returns:
this
-
lambdaVersion
@Stability(Stable) public CfnUserPool.CustomEmailSenderProperty.Builder lambdaVersion(String lambdaVersion) Sets the value ofCfnUserPool.CustomEmailSenderProperty.getLambdaVersion()
- Parameters:
lambdaVersion
- The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.You must use a
LambdaVersion
ofV1_0
with a custom sender function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPool.CustomEmailSenderProperty>
- Returns:
- a new instance of
CfnUserPool.CustomEmailSenderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-