Class MailClientBuilder

java.lang.Object
io.vertx.mutiny.ext.mail.MailClientBuilder
All Implemented Interfaces:
MutinyDelegate

public class MailClientBuilder extends Object implements MutinyDelegate
A builder for MailClient.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • MailClientBuilder

      public MailClientBuilder(io.vertx.ext.mail.MailClientBuilder delegate)
    • MailClientBuilder

      public MailClientBuilder(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.mail.MailClientBuilder getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • with

      public MailClientBuilder with(io.vertx.ext.mail.MailConfig configuration)
      Parameters:
      configuration - to be used for sending mails
      Returns:
      a reference to this, so the API can be used fluently
    • shared

      public MailClientBuilder shared(String poolName)
      Parameters:
      poolName - the shared pool name
      Returns:
      a reference to this, so the API can be used fluently
    • build

      public MailClient build()
      Returns:
      the client as configured by this builder
    • withCredentialsSupplier

      public MailClientBuilder withCredentialsSupplier(Supplier<io.smallrye.mutiny.Uni<io.vertx.ext.auth.authentication.UsernamePasswordCredentials>> credentialsSupplier)
      Parameters:
      credentialsSupplier -
      Returns:
      a reference to this, so the API can be used fluently
    • newInstance

      public static MailClientBuilder newInstance(io.vertx.ext.mail.MailClientBuilder arg)