Class NotifyConfigurationType

    • Method Detail

      • from

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

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

        public final String replyTo()

        The reply-to email address of an email template.

        Returns:
        The reply-to email address of an email template.
      • 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()

        The template for the email message that your user pool sends when a detected risk event is blocked.

        Returns:
        The template for the email message that your user pool sends when a detected risk event is blocked.
      • noActionEmail

        public final NotifyEmailType noActionEmail()

        The template for the email message that your user pool sends when no action is taken in response to a detected risk.

        Returns:
        The template for the email message that your user pool sends when no action is taken in response to a detected risk.
      • mfaEmail

        public final NotifyEmailType mfaEmail()

        The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.

        Returns:
        The template for the email message that your user pool sends when MFA is challenged in response to 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)