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)Email template used when a detected risk event is blocked.NotifyConfigurationType.BuilderblockEmail(NotifyEmailType blockEmail)Email template used when a detected risk event is blocked.NotifyConfigurationType.Builderfrom(String from)The email address that is sending the email.default NotifyConfigurationType.BuildermfaEmail(Consumer<NotifyEmailType.Builder> mfaEmail)The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.NotifyConfigurationType.BuildermfaEmail(NotifyEmailType mfaEmail)The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.default NotifyConfigurationType.BuildernoActionEmail(Consumer<NotifyEmailType.Builder> noActionEmail)The email template used when a detected risk event is allowed.NotifyConfigurationType.BuildernoActionEmail(NotifyEmailType noActionEmail)The email template used when a detected risk event is allowed.NotifyConfigurationType.BuilderreplyTo(String replyTo)The destination to which the receiver of an email should reply to.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, sdkFields
-
-
-
-
Method Detail
-
from
NotifyConfigurationType.Builder from(String from)
The email address that is sending the email. 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 is sending the email. 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 destination to which the receiver of an email should reply to.
- Parameters:
replyTo- The destination to which the receiver of an email should reply to.- 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)
Email template used when a detected risk event is blocked.
- Parameters:
blockEmail- Email template used 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)
Email template used 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 email template used when a detected risk event is allowed.
- Parameters:
noActionEmail- The email template used when a detected risk event is allowed.- 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 email template used when a detected risk event is allowed.
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 multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
- Parameters:
mfaEmail- The multi-factor authentication (MFA) email template used when MFA is challenged as part of 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 multi-factor authentication (MFA) email template used when MFA is challenged as part of 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)
-
-