public static interface PostCommentForPullRequestResponse.Builder extends CodeCommitResponse.Builder, CopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>
Modifier and Type | Method and Description |
---|---|
PostCommentForPullRequestResponse.Builder |
afterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
|
PostCommentForPullRequestResponse.Builder |
afterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
|
PostCommentForPullRequestResponse.Builder |
beforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
|
PostCommentForPullRequestResponse.Builder |
beforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an
updated pull request, the full commit ID of the commit used to update the pull request.
|
PostCommentForPullRequestResponse.Builder |
comment(Comment comment)
The content of the comment you posted.
|
default PostCommentForPullRequestResponse.Builder |
comment(Consumer<Comment.Builder> comment)
The content of the comment you posted.
|
default PostCommentForPullRequestResponse.Builder |
location(Consumer<Location.Builder> location)
The location of the change where you posted your comment.
|
PostCommentForPullRequestResponse.Builder |
location(Location location)
The location of the change where you posted your comment.
|
PostCommentForPullRequestResponse.Builder |
pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
PostCommentForPullRequestResponse.Builder |
repositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PostCommentForPullRequestResponse.Builder repositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
repositoryName
- The name of the repository where you posted a comment on a pull request.PostCommentForPullRequestResponse.Builder pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.PostCommentForPullRequestResponse.Builder beforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
beforeCommitId
- The full commit ID of the commit in the source branch used to create the pull request, or in the case
of an updated pull request, the full commit ID of the commit used to update the pull request.PostCommentForPullRequestResponse.Builder afterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
afterCommitId
- The full commit ID of the commit in the destination branch where the pull request will be merged.PostCommentForPullRequestResponse.Builder beforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
beforeBlobId
- In the directionality of the pull request, the blob ID of the 'before' blob.PostCommentForPullRequestResponse.Builder afterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
afterBlobId
- In the directionality of the pull request, the blob ID of the 'after' blob.PostCommentForPullRequestResponse.Builder location(Location location)
The location of the change where you posted your comment.
location
- The location of the change where you posted your comment.default PostCommentForPullRequestResponse.Builder location(Consumer<Location.Builder> location)
The location of the change where you posted your comment.
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)
PostCommentForPullRequestResponse.Builder comment(Comment comment)
The content of the comment you posted.
comment
- The content of the comment you posted.default PostCommentForPullRequestResponse.Builder comment(Consumer<Comment.Builder> comment)
The content of the comment you posted.
This is a convenience that creates an instance of theComment.Builder
avoiding the need to create one
manually via Comment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to comment(Comment)
.comment
- a consumer that will call methods on Comment.Builder
comment(Comment)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.