public static final class UserTypes.NewUserConfig.Builder extends Object
UserTypes.NewUserConfig
.Constructor and Description |
---|
UserTypes.NewUserConfig.Builder(String username,
char[] password)
Constructor with parameters for the required properties of
UserTypes.NewUserConfig . |
Modifier and Type | Method and Description |
---|---|
UserTypes.NewUserConfig |
build() |
UserTypes.NewUserConfig.Builder |
setEmail(String email)
Email address of the local account.
|
UserTypes.NewUserConfig.Builder |
setFullname(String fullname)
User full name
fullname Optional full name for a person
|
UserTypes.NewUserConfig.Builder |
setRole(UserTypes.UserRole role)
User roles.
|
public UserTypes.NewUserConfig.Builder(String username, char[] password)
UserTypes.NewUserConfig
.public UserTypes.NewUserConfig.Builder setRole(UserTypes.UserRole role)
role
- New value for the property.public UserTypes.NewUserConfig.Builder setFullname(String fullname)
fullname
- New value for the property.public UserTypes.NewUserConfig.Builder setEmail(String email)
email
- New value for the property.public UserTypes.NewUserConfig build()
Copyright © 2016. All Rights Reserved.