protected abstract static class AbstractServiceUserRequest.AbstractBuilder<B extends AbstractServiceUserRequest.AbstractBuilder<B>> extends BuilderSupport
NOT_BLANK
Modifier | Constructor and Description |
---|---|
protected |
AbstractBuilder() |
protected |
AbstractBuilder(ServiceUser user) |
Modifier and Type | Method and Description |
---|---|
B |
active(boolean value) |
B |
displayName(String value) |
B |
emailAddress(String value) |
B |
label(String value) |
B |
name(String value) |
protected abstract B |
self() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
protected AbstractBuilder()
protected AbstractBuilder(@Nonnull ServiceUser user)
@Nonnull public B active(boolean value)
value
- whether the service user should be activethis
@Nonnull public B displayName(@Nullable String value)
value
- the display name to setthis
@Nonnull public B emailAddress(@Nullable String value)
value
- the email address to setthis
@Nonnull public B label(@Nullable String value)
value
- the label to setthis
@Nonnull public B name(@Nullable String value)
value
- the username to setthis
protected abstract B self()
Copyright © 2019 Atlassian. All rights reserved.