public static interface CommentsForComparedCommit.Builder extends SdkPojo, CopyableBuilder<CommentsForComparedCommit.Builder,CommentsForComparedCommit>
| Modifier and Type | Method and Description |
|---|---|
CommentsForComparedCommit.Builder |
afterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
|
CommentsForComparedCommit.Builder |
afterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
|
CommentsForComparedCommit.Builder |
beforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
|
CommentsForComparedCommit.Builder |
beforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
|
CommentsForComparedCommit.Builder |
comments(Collection<Comment> comments)
An array of comment objects.
|
CommentsForComparedCommit.Builder |
comments(Comment... comments)
An array of comment objects.
|
CommentsForComparedCommit.Builder |
comments(Consumer<Comment.Builder>... comments)
An array of comment objects.
|
default CommentsForComparedCommit.Builder |
location(Consumer<Location.Builder> location)
Location information about the comment on the comparison, including the file name, line number, and whether
the version of the file where the comment was made is BEFORE or AFTER.
|
CommentsForComparedCommit.Builder |
location(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether
the version of the file where the comment was made is BEFORE or AFTER.
|
CommentsForComparedCommit.Builder |
repositoryName(String repositoryName)
The name of the repository that contains the compared commits.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCommentsForComparedCommit.Builder repositoryName(String repositoryName)
The name of the repository that contains the compared commits.
repositoryName - The name of the repository that contains the compared commits.CommentsForComparedCommit.Builder beforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
beforeCommitId - The full commit ID of the commit used to establish the before of the comparison.CommentsForComparedCommit.Builder afterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
afterCommitId - The full commit ID of the commit used to establish the after of the comparison.CommentsForComparedCommit.Builder beforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
beforeBlobId - The full blob ID of the commit used to establish the before of the comparison.CommentsForComparedCommit.Builder afterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
afterBlobId - The full blob ID of the commit used to establish the after of the comparison.CommentsForComparedCommit.Builder location(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
location - Location information about the comment on the comparison, including the file name, line number, and
whether the version of the file where the comment was made is BEFORE or AFTER.default CommentsForComparedCommit.Builder location(Consumer<Location.Builder> location)
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
This is a convenience method 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.Builderlocation(Location)CommentsForComparedCommit.Builder comments(Collection<Comment> comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
comments - An array of comment objects. Each comment object contains information about a comment on the
comparison between commits.CommentsForComparedCommit.Builder comments(Comment... comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
comments - An array of comment objects. Each comment object contains information about a comment on the
comparison between commits.CommentsForComparedCommit.Builder comments(Consumer<Comment.Builder>... comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
This is a convenience method 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 #comments(List.
comments - a consumer that will call methods on
Comment.Builder#comments(java.util.Collection) Copyright © 2023. All rights reserved.