Interface NotifyConfigurationType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotifyConfigurationType.Builder,,NotifyConfigurationType> SdkBuilder<NotifyConfigurationType.Builder,,NotifyConfigurationType> SdkPojo
- Enclosing class:
- NotifyConfigurationType
-
Method Summary
Modifier and TypeMethodDescriptiondefault NotifyConfigurationType.BuilderblockEmail(Consumer<NotifyEmailType.Builder> blockEmail) The template for the email message that your user pool sends when a detected risk event is blocked.blockEmail(NotifyEmailType blockEmail) The template for the email message that your user pool sends when a detected risk event is blocked.The email address that sends the email message.default NotifyConfigurationType.BuildermfaEmail(Consumer<NotifyEmailType.Builder> mfaEmail) The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.mfaEmail(NotifyEmailType mfaEmail) The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.default NotifyConfigurationType.BuildernoActionEmail(Consumer<NotifyEmailType.Builder> noActionEmail) The template for the email message that your user pool sends when no action is taken in response to a detected risk.noActionEmail(NotifyEmailType noActionEmail) The template for the email message that your user pool sends when no action is taken in response to a detected risk.The reply-to email address of an email template.The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.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, sdkFieldNameToField, sdkFields
-
Method Details
-
from
The email address that sends the email message. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- Parameters:
from- The email address that sends the email message. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replyTo
The reply-to email address of an email template. Can be an email address in the format
admin@example.comorAdministrator <admin@example.com>.- Parameters:
replyTo- The reply-to email address of an email template. Can be an email address in the formatadmin@example.comorAdministrator <admin@example.com>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the
Fromparameter.- Parameters:
sourceArn- The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in theFromparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockEmail
The template for the email message that your user pool sends when a detected risk event is blocked.
- Parameters:
blockEmail- The template for the email message that your user pool sends when a detected risk event is blocked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockEmail
The template for the email message that your user pool sends when a detected risk event is blocked.
This is a convenience method that creates an instance of theNotifyEmailType.Builderavoiding the need to create one manually viaNotifyEmailType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockEmail(NotifyEmailType).- Parameters:
blockEmail- a consumer that will call methods onNotifyEmailType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noActionEmail
The template for the email message that your user pool sends when no action is taken in response to a detected risk.
- Parameters:
noActionEmail- The template for the email message that your user pool sends when no action is taken in response to a detected risk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noActionEmail
default NotifyConfigurationType.Builder noActionEmail(Consumer<NotifyEmailType.Builder> noActionEmail) The template for the email message that your user pool sends when no action is taken in response to a detected risk.
This is a convenience method that creates an instance of theNotifyEmailType.Builderavoiding the need to create one manually viaNotifyEmailType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonoActionEmail(NotifyEmailType).- Parameters:
noActionEmail- a consumer that will call methods onNotifyEmailType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mfaEmail
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.
- Parameters:
mfaEmail- The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaEmail
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.
This is a convenience method that creates an instance of theNotifyEmailType.Builderavoiding the need to create one manually viaNotifyEmailType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomfaEmail(NotifyEmailType).- Parameters:
mfaEmail- a consumer that will call methods onNotifyEmailType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-