Interface RelayAuthentication.Builder

  • Method Details

    • noAuthentication

      RelayAuthentication.Builder noAuthentication(NoAuthentication noAuthentication)

      Keep an empty structure if the relay destination server does not require SMTP credential authentication.

      Parameters:
      noAuthentication - Keep an empty structure if the relay destination server does not require SMTP credential authentication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • noAuthentication

      default RelayAuthentication.Builder noAuthentication(Consumer<NoAuthentication.Builder> noAuthentication)

      Keep an empty structure if the relay destination server does not require SMTP credential authentication.

      This is a convenience method that creates an instance of the NoAuthentication.Builder avoiding the need to create one manually via NoAuthentication.builder().

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

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

      RelayAuthentication.Builder secretArn(String secretArn)

      The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.

      Parameters:
      secretArn - The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.