public static final class ImmutableUser.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ImmutableUser.Builder |
active(boolean active) |
ImmutableUser.Builder |
directoryId(long directoryId) |
ImmutableUser.Builder |
displayName(String displayName) |
ImmutableUser.Builder |
emailAddress(String emailAddress) |
ImmutableUser.Builder |
name(String name) |
ImmutableUser |
toUser()
Returns an immutable User object with the properties set in this builder.
|
public ImmutableUser toUser()
public ImmutableUser.Builder directoryId(long directoryId)
public ImmutableUser.Builder name(String name)
public ImmutableUser.Builder displayName(String displayName)
public ImmutableUser.Builder emailAddress(String emailAddress)
public ImmutableUser.Builder active(boolean active)
Copyright © 2021 Atlassian. All rights reserved.