public static class ProjectCreateRequest.Builder extends AbstractProjectRequest.AbstractBuilder<ProjectCreateRequest.Builder>
NOT_BLANK
Modifier and Type | Method and Description |
---|---|
ProjectCreateRequest.Builder |
avatar(AvatarSupplier value) |
ProjectCreateRequest.Builder |
avatarUri(String value)
The avatar data URI is required to contain Base64-encoded image data, and should be in the format:
data:(content type, e.g. |
ProjectCreateRequest |
build() |
protected ProjectCreateRequest.Builder |
self() |
description, key, name, namespace, publiclyAccessible
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder()
public Builder(Project project)
@Nonnull public ProjectCreateRequest.Builder avatar(@Nullable AvatarSupplier value)
value
- a supplier containing an avatar image, or null
this
@Nonnull public ProjectCreateRequest.Builder avatarUri(@Nullable String value)
data:(content type, e.g. image/png);base64,(data)
value
- the avatar data URI or null
this
@Nonnull public ProjectCreateRequest build()
@Nonnull protected ProjectCreateRequest.Builder self()
self
in class AbstractProjectRequest.AbstractBuilder<ProjectCreateRequest.Builder>
Copyright © 2022 Atlassian. All rights reserved.