| Modifier and Type | Field and Description |
|---|---|
protected String |
email |
protected Boolean |
enabled |
protected String |
id |
protected String |
name |
protected com.google.common.collect.ImmutableSet.Builder<Role> |
roles |
protected String |
tenantId |
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
User |
build() |
T |
email(String email) |
T |
enabled(Boolean enabled) |
T |
fromUser(User in) |
T |
id(String id) |
T |
name(String name) |
T |
role(Role role) |
T |
roles(Iterable<Role> roles) |
protected abstract T |
self() |
T |
tenantId(String tenantId) |
protected String id
protected String name
protected String email
protected Boolean enabled
protected String tenantId
protected com.google.common.collect.ImmutableSet.Builder<Role> roles
protected abstract T self()
public T id(String id)
User.getId()public T name(String name)
User.getName()public T email(String email)
User.getEmail()public T enabled(Boolean enabled)
User.isEnabled()public T tenantId(String tenantId)
User.getTenantId()public T role(Role role)
User.delegate()public T roles(Iterable<Role> roles)
User.delegate()public User build()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.