Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Account |
build() |
Account.Builder |
userId(String id) |
Account.Builder |
username(String username) |
public Account.Builder userId(String id)
id
- A unique user ID associated with the end-user in your
system. If your system allows the login name for the
account to be changed, this should not be the login
name for the account, but rather should be an internal
ID that does not change. This is not your MaxMind user
ID.public Account.Builder username(String username)
username
- The username associated with the account. This is
not the MD5 of username. This method
automatically runs DigestUtils.md5Hex
on the string passed to it.public Account build()
Account
created from the
fields set on this builder.Copyright © 2019 MaxMind, Inc.. All rights reserved.