public static class PullRequestUpdateRequest.Builder extends AbstractPullRequestRequest.AbstractBuilder<PullRequestUpdateRequest.Builder>
NOT_BLANK
Constructor and Description |
---|
Builder(int repositoryId,
long pullRequestId,
int version) |
Builder(PullRequest pullRequest,
int version) |
Modifier and Type | Method and Description |
---|---|
PullRequestUpdateRequest |
build() |
PullRequestUpdateRequest.Builder |
description(String value) |
PullRequestUpdateRequest.Builder |
reviewers(Iterable<String> value) |
protected PullRequestUpdateRequest.Builder |
self() |
PullRequestUpdateRequest.Builder |
title(String value) |
PullRequestUpdateRequest.Builder |
toBranchId(String value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull PullRequest pullRequest, int version)
public Builder(int repositoryId, long pullRequestId, int version)
@Nonnull public PullRequestUpdateRequest build()
@Nonnull public PullRequestUpdateRequest.Builder description(@Nullable String value)
@Nonnull public PullRequestUpdateRequest.Builder reviewers(@Nonnull Iterable<String> value)
@Nonnull public PullRequestUpdateRequest.Builder title(@Nonnull String value)
@Nonnull public PullRequestUpdateRequest.Builder toBranchId(@Nullable String value)
@Nonnull protected PullRequestUpdateRequest.Builder self()
self
in class AbstractPullRequestRequest.AbstractBuilder<PullRequestUpdateRequest.Builder>
Copyright © 2019 Atlassian. All rights reserved.