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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserSettingsbuild()Stringname()Get the full name for the userUserSettingsname(String name)Set the full name of the userStringpassword()Get the password for the userUserSettingspassword(String password)Set the password for the userList<UserRole>roles()Get roles for the userUserRoleUserSettingsroles(List<UserRole> roles)Set the roles for the userUserRole
-
-
-
Method Detail
-
build
public static UserSettings build()
-
name
public UserSettings name(String name)
Set the full name of the user
-
password
public UserSettings password(String password)
Set the password for the user
-
roles
public UserSettings roles(List<UserRole> roles)
Set the roles for the userUserRole
-
name
public String name()
Get the full name for the user
-
password
public String password()
Get the password for the user
-
-