Interface NotifyConfigurationType.Builder

    • 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 From parameter.

        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 the From parameter.
        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.
      • 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.
      • 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.