public class MailClientBuilder extends Object implements io.vertx.lang.rx.RxDelegate
MailClient.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<MailClientBuilder> |
__TYPE_ARG |
| Constructor and Description |
|---|
MailClientBuilder(MailClientBuilder delegate) |
MailClientBuilder(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
MailClient |
build()
Build and return the client.
|
boolean |
equals(Object o) |
MailClientBuilder |
getDelegate() |
int |
hashCode() |
static MailClientBuilder |
newInstance(MailClientBuilder arg) |
MailClientBuilder |
shared(String poolName)
Set a shared client pool name.
|
String |
toString() |
MailClientBuilder |
with(MailConfig configuration)
Set a configuration object.
|
MailClientBuilder |
withCredentialsSupplier(java.util.function.Supplier<Future<UsernamePasswordCredentials>> credentialsSupplier)
Set a credentials supplier for the mail client.
|
public static final io.vertx.lang.rx.TypeArg<MailClientBuilder> __TYPE_ARG
public MailClientBuilder(MailClientBuilder delegate)
public MailClientBuilder(Object delegate)
public MailClientBuilder getDelegate()
getDelegate in interface io.vertx.lang.rx.RxDelegatepublic MailClientBuilder with(MailConfig configuration)
configuration - to be used for sending mailspublic MailClientBuilder shared(String poolName)
The created client will share its connection pool with any other client created with the same pool name.
poolName - the shared pool namepublic MailClient build()
public MailClientBuilder withCredentialsSupplier(java.util.function.Supplier<Future<UsernamePasswordCredentials>> credentialsSupplier)
By default, the credentials are fixed at creation time with MailConfig and MailConfig.
credentialsSupplier - public static MailClientBuilder newInstance(MailClientBuilder arg)
Copyright © 2025 Eclipse. All rights reserved.