public class UserSettings extends Object
Setting for the user - full name, password, roles
Modifier and Type | Method and Description |
---|---|
static UserSettings |
build() |
String |
name()
Get the full name for the user
|
UserSettings |
name(String name)
Set the full name of the user
|
String |
password()
Get the password for the user
|
UserSettings |
password(String password)
Set the password for the user
|
List<UserRole> |
roles()
Get roles for the user
UserRole |
UserSettings |
roles(List<UserRole> roles)
Set the roles for the user
UserRole |
public static UserSettings build()
public UserSettings name(String name)
Set the full name of the user
public UserSettings password(String password)
Set the password for the user
public UserSettings roles(List<UserRole> roles)
Set the roles for the user UserRole
public String name()
Get the full name for the user
public String password()
Get the password for the user
Copyright © 2015 Couchbase, Inc.