Package com.atlassian.bitbucket.user
Class AbstractServiceUserRequest.AbstractBuilder<B extends AbstractServiceUserRequest.AbstractBuilder<B>>
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.user.AbstractServiceUserRequest.AbstractBuilder<B>
- Direct Known Subclasses:
ServiceUserCreateRequest.Builder
,ServiceUserUpdateRequest.Builder
- Enclosing class:
- AbstractServiceUserRequest
protected abstract static class AbstractServiceUserRequest.AbstractBuilder<B extends AbstractServiceUserRequest.AbstractBuilder<B>>
extends BuilderSupport
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder() -
AbstractBuilder
-
-
Method Details
-
active
- Parameters:
value
- whether the service user should be active- Returns:
this
-
displayName
- Parameters:
value
- the display name to set- Returns:
this
-
emailAddress
- Parameters:
value
- the email address to set- Returns:
this
-
label
- Parameters:
value
- the label to set- Returns:
this
-
name
- Parameters:
value
- the username to set- Returns:
this
-
self
-