Interface NotifyConfigurationType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>,SdkBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>,SdkPojo
- Enclosing class:
- NotifyConfigurationType
public static interface NotifyConfigurationType.Builder extends SdkPojo, CopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotifyConfigurationType.BuilderblockEmail(Consumer<NotifyEmailType.Builder> blockEmail)The template for the email message that your user pool sends when a detected risk event is blocked.NotifyConfigurationType.BuilderblockEmail(NotifyEmailType blockEmail)The template for the email message that your user pool sends when a detected risk event is blocked.NotifyConfigurationType.Builderfrom(String from)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.NotifyConfigurationType.BuildermfaEmail(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.NotifyConfigurationType.BuildernoActionEmail(NotifyEmailType noActionEmail)The template for the email message that your user pool sends when no action is taken in response to a detected risk.NotifyConfigurationType.BuilderreplyTo(String replyTo)The reply-to email address of an email template.NotifyConfigurationType.BuildersourceArn(String sourceArn)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
from
NotifyConfigurationType.Builder from(String 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
NotifyConfigurationType.Builder replyTo(String replyTo)
The reply-to email address of an email template.
- Parameters:
replyTo- The reply-to email address of an email template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
NotifyConfigurationType.Builder sourceArn(String 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
NotifyConfigurationType.Builder blockEmail(NotifyEmailType 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
default NotifyConfigurationType.Builder blockEmail(Consumer<NotifyEmailType.Builder> 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:
blockEmail(NotifyEmailType)
-
noActionEmail
NotifyConfigurationType.Builder 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.
- 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:
noActionEmail(NotifyEmailType)
-
mfaEmail
NotifyConfigurationType.Builder mfaEmail(NotifyEmailType 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
default NotifyConfigurationType.Builder mfaEmail(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.
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:
mfaEmail(NotifyEmailType)
-
-