Interface NotifyConfigurationType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>, SdkBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>, SdkPojo
Enclosing class:
NotifyConfigurationType

@Mutable @NotThreadSafe public static interface NotifyConfigurationType.Builder extends SdkPojo, CopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>
  • Method Details

    • 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

      The reply-to email address of an email template. Can be an email address in the format admin@example.com or Administrator <admin@example.com>.

      Parameters:
      replyTo - The reply-to email address of an email template. Can be an email address in the format admin@example.com or Administrator <admin@example.com>.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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

      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 the NotifyEmailType.Builder avoiding the need to create one manually via NotifyEmailType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to blockEmail(NotifyEmailType).

      Parameters:
      blockEmail - a consumer that will call methods on NotifyEmailType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the NotifyEmailType.Builder avoiding the need to create one manually via NotifyEmailType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to noActionEmail(NotifyEmailType).

      Parameters:
      noActionEmail - a consumer that will call methods on NotifyEmailType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 the NotifyEmailType.Builder avoiding the need to create one manually via NotifyEmailType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mfaEmail(NotifyEmailType).

      Parameters:
      mfaEmail - a consumer that will call methods on NotifyEmailType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: