public static class UserCreateRequest.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(IUser existing) |
Builder(java.lang.String username,
java.lang.String password,
java.lang.String firstName,
java.lang.String lastName) |
Modifier and Type | Method and Description |
---|---|
UserCreateRequest |
build() |
UserCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
UserCreateRequest.Builder |
withAuthorities(java.util.List<java.lang.String> auths) |
UserCreateRequest.Builder |
withAuthority(java.lang.String authority) |
UserCreateRequest.Builder |
withStatus(AccountStatus status) |
public Builder(java.lang.String username, java.lang.String password, java.lang.String firstName, java.lang.String lastName)
public Builder(IUser existing)
public UserCreateRequest.Builder withStatus(AccountStatus status)
public UserCreateRequest.Builder withAuthority(java.lang.String authority)
public UserCreateRequest.Builder withAuthorities(java.util.List<java.lang.String> auths)
public UserCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public UserCreateRequest build()