public static class

ProjectCreateRequest.Builder

extends AbstractProjectRequest.AbstractBuilder<B extends AbstractBuilder>
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.project.AbstractProjectRequest.AbstractBuilder<B extends com.atlassian.bitbucket.project.AbstractProjectRequest.AbstractBuilder>
       ↳ com.atlassian.bitbucket.project.ProjectCreateRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder()
Builder(Project project)
Public Methods
@Nonnull ProjectCreateRequest.Builder avatar(AvatarSupplier value)
@Nonnull 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.
@Nonnull ProjectCreateRequest build()
Protected Methods
@Nonnull ProjectCreateRequest.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.project.AbstractProjectRequest.AbstractBuilder
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder ()

public Builder (Project project)

Public Methods

@Nonnull public ProjectCreateRequest.Builder avatar (AvatarSupplier value)

Parameters
value a supplier containing an avatar image, or null
Returns
  • this

@Nonnull public 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. image/png);base64,(data)

Parameters
value the avatar data URI or null
Returns
  • this

@Nonnull public ProjectCreateRequest build ()

Protected Methods

@Nonnull protected ProjectCreateRequest.Builder self ()