public static interface CommentsForPullRequest.Builder extends CopyableBuilder<CommentsForPullRequest.Builder,CommentsForPullRequest>
Modifier and Type | Method and Description |
---|---|
CommentsForPullRequest.Builder |
afterBlobId(String afterBlobId)
The full blob ID of the file on which you want to comment on the source commit.
|
CommentsForPullRequest.Builder |
afterCommitId(String afterCommitId)
he full commit ID of the commit that was the tip of the source branch at the time the comment was made.
|
CommentsForPullRequest.Builder |
beforeBlobId(String beforeBlobId)
The full blob ID of the file on which you want to comment on the destination commit.
|
CommentsForPullRequest.Builder |
beforeCommitId(String beforeCommitId)
The full commit ID of the commit that was the tip of the destination branch when the pull request was
created.
|
CommentsForPullRequest.Builder |
comments(Collection<Comment> comments)
An array of comment objects.
|
CommentsForPullRequest.Builder |
comments(Comment... comments)
An array of comment objects.
|
CommentsForPullRequest.Builder |
comments(Consumer<Comment.Builder>... comments)
An array of comment objects.
|
default CommentsForPullRequest.Builder |
location(Consumer<Location.Builder> location)
Location information about the comment on the pull request, including the file name, line number, and whether
the version of the file where the comment was made is 'BEFORE' (destination branch) or 'AFTER' (source
branch).
|
CommentsForPullRequest.Builder |
location(Location location)
Location information about the comment on the pull request, including the file name, line number, and whether
the version of the file where the comment was made is 'BEFORE' (destination branch) or 'AFTER' (source
branch).
|
CommentsForPullRequest.Builder |
pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
CommentsForPullRequest.Builder |
repositoryName(String repositoryName)
The name of the repository that contains the pull request.
|
copy
applyMutation, build
CommentsForPullRequest.Builder pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.CommentsForPullRequest.Builder repositoryName(String repositoryName)
The name of the repository that contains the pull request.
repositoryName
- The name of the repository that contains the pull request.CommentsForPullRequest.Builder beforeCommitId(String beforeCommitId)
The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
beforeCommitId
- The full commit ID of the commit that was the tip of the destination branch when the pull request was
created. This commit will be superceded by the after commit in the source branch when and if you merge
the source branch into the destination branch.CommentsForPullRequest.Builder afterCommitId(String afterCommitId)
he full commit ID of the commit that was the tip of the source branch at the time the comment was made.
afterCommitId
- he full commit ID of the commit that was the tip of the source branch at the time the comment was
made.CommentsForPullRequest.Builder beforeBlobId(String beforeBlobId)
The full blob ID of the file on which you want to comment on the destination commit.
beforeBlobId
- The full blob ID of the file on which you want to comment on the destination commit.CommentsForPullRequest.Builder afterBlobId(String afterBlobId)
The full blob ID of the file on which you want to comment on the source commit.
afterBlobId
- The full blob ID of the file on which you want to comment on the source commit.CommentsForPullRequest.Builder location(Location location)
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is 'BEFORE' (destination branch) or 'AFTER' (source branch).
location
- Location information about the comment on the pull request, including the file name, line number, and
whether the version of the file where the comment was made is 'BEFORE' (destination branch) or 'AFTER'
(source branch).default CommentsForPullRequest.Builder location(Consumer<Location.Builder> location)
Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is 'BEFORE' (destination branch) or 'AFTER' (source branch).
This is a convenience that creates an instance of theLocation.Builder
avoiding the need to create
one manually via Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to location(Location)
.location
- a consumer that will call methods on Location.Builder
location(Location)
CommentsForPullRequest.Builder comments(Collection<Comment> comments)
An array of comment objects. Each comment object contains information about a comment on the pull request.
comments
- An array of comment objects. Each comment object contains information about a comment on the pull
request.CommentsForPullRequest.Builder comments(Comment... comments)
An array of comment objects. Each comment object contains information about a comment on the pull request.
comments
- An array of comment objects. Each comment object contains information about a comment on the pull
request.CommentsForPullRequest.Builder comments(Consumer<Comment.Builder>... comments)
An array of comment objects. Each comment object contains information about a comment on the pull request.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #comments(List)
.comments
- a consumer that will call methods on List.Builder
#comments(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.