Modifier | Constructor and Description |
---|---|
protected |
Builder(@NonNull Client client)
Constructs the builder with the given client.
|
Modifier and Type | Method and Description |
---|---|
@NonNull NickServ.Builder |
account(@Nullable String account)
Sets the account.
|
@NonNull NickServ |
build()
Builds NickServ.
|
@NonNull NickServ.Builder |
password(@Nullable String password)
Sets the password.
|
@NonNull NickServ.Builder |
serviceName(@Nullable String serviceName)
Sets the service name.
|
protected Builder(@NonNull Client client)
client
- clientpublic @NonNull NickServ.Builder serviceName(@Nullable String serviceName)
serviceName
- service namepublic @NonNull NickServ.Builder account(@Nullable String account)
account
- accountpublic @NonNull NickServ.Builder password(@Nullable String password)
password
- passwordpublic @NonNull NickServ build()
IllegalArgumentException
- if password is not setCopyright © 2013–2021 Kitteh. All rights reserved.