Class UserSettings
java.lang.Object
com.couchbase.client.java.cluster.UserSettings
public class UserSettings extends Object
Setting for the user - full name, password, roles
- Since:
- 2.4.4
- Author:
- Subhashni Balakrishnan
-
Method Summary
Modifier and Type Method Description static UserSettings
build()
String
name()
Get the full name for the userUserSettings
name(String name)
Set the full name of the userString
password()
Get the password for the userUserSettings
password(String password)
Set the password for the userList<UserRole>
roles()
Get roles for the userUserRole
UserSettings
roles(List<UserRole> roles)
Set the roles for the userUserRole