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 |
---|
User.Builder() |
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-2016 The Apache Software Foundation. All Rights Reserved.