public static final class CfnUserPool.CustomEmailSenderProperty.Builder
extends java.lang.Object
CfnUserPool.CustomEmailSenderProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserPool.CustomEmailSenderProperty |
build()
Builds the configured instance.
|
CfnUserPool.CustomEmailSenderProperty.Builder |
lambdaArn(java.lang.String lambdaArn)
Sets the value of
CfnUserPool.CustomEmailSenderProperty.getLambdaArn() |
CfnUserPool.CustomEmailSenderProperty.Builder |
lambdaVersion(java.lang.String lambdaVersion)
Sets the value of
CfnUserPool.CustomEmailSenderProperty.getLambdaVersion() |
public CfnUserPool.CustomEmailSenderProperty.Builder lambdaArn(java.lang.String lambdaArn)
CfnUserPool.CustomEmailSenderProperty.getLambdaArn()
lambdaArn
- The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users.this
public CfnUserPool.CustomEmailSenderProperty.Builder lambdaVersion(java.lang.String lambdaVersion)
CfnUserPool.CustomEmailSenderProperty.getLambdaVersion()
lambdaVersion
- The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function.
The only supported value is V1_0
.this
public CfnUserPool.CustomEmailSenderProperty build()
CfnUserPool.CustomEmailSenderProperty
java.lang.NullPointerException
- if any required attribute was not provided