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 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
-
-
-
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
-
-