Class NotifyConfigurationType

    • Method Detail

      • from

        public final 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.

        Returns:
        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.
      • replyTo

        public final String replyTo()

        The destination to which the receiver of an email should reply to.

        Returns:
        The destination to which the receiver of an email should reply to.
      • sourceArn

        public final 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.

        Returns:
        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.
      • blockEmail

        public final NotifyEmailType blockEmail()

        Email template used when a detected risk event is blocked.

        Returns:
        Email template used when a detected risk event is blocked.
      • noActionEmail

        public final NotifyEmailType noActionEmail()

        The email template used when a detected risk event is allowed.

        Returns:
        The email template used when a detected risk event is allowed.
      • mfaEmail

        public final NotifyEmailType mfaEmail()

        The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.

        Returns:
        The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)