Interface CommentsForComparedCommit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CommentsForComparedCommit.Builder,CommentsForComparedCommit>,SdkBuilder<CommentsForComparedCommit.Builder,CommentsForComparedCommit>,SdkPojo
- Enclosing class:
- CommentsForComparedCommit
public static interface CommentsForComparedCommit.Builder extends SdkPojo, CopyableBuilder<CommentsForComparedCommit.Builder,CommentsForComparedCommit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CommentsForComparedCommit.BuilderafterBlobId(String afterBlobId)The full blob ID of the commit used to establish the after of the comparison.CommentsForComparedCommit.BuilderafterCommitId(String afterCommitId)The full commit ID of the commit used to establish the after of the comparison.CommentsForComparedCommit.BuilderbeforeBlobId(String beforeBlobId)The full blob ID of the commit used to establish the before of the comparison.CommentsForComparedCommit.BuilderbeforeCommitId(String beforeCommitId)The full commit ID of the commit used to establish the before of the comparison.CommentsForComparedCommit.Buildercomments(Collection<Comment> comments)An array of comment objects.CommentsForComparedCommit.Buildercomments(Consumer<Comment.Builder>... comments)An array of comment objects.CommentsForComparedCommit.Buildercomments(Comment... comments)An array of comment objects.default CommentsForComparedCommit.Builderlocation(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.Builderlocation(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.BuilderrepositoryName(String repositoryName)The name of the repository that contains the compared commits.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
repositoryName
CommentsForComparedCommit.Builder repositoryName(String repositoryName)
The name of the repository that contains the compared commits.
- Parameters:
repositoryName- The name of the repository that contains the compared commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeCommitId
CommentsForComparedCommit.Builder beforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
- Parameters:
beforeCommitId- The full commit ID of the commit used to establish the before of the comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
CommentsForComparedCommit.Builder afterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
- Parameters:
afterCommitId- The full commit ID of the commit used to establish the after of the comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeBlobId
CommentsForComparedCommit.Builder beforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
- Parameters:
beforeBlobId- The full blob ID of the commit used to establish the before of the comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterBlobId
CommentsForComparedCommit.Builder afterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
- Parameters:
afterBlobId- The full blob ID of the commit used to establish the after of the comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
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.Builderavoiding the need to create one manually viaLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(Location).- Parameters:
location- a consumer that will call methods onLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
location(Location)
-
comments
CommentsForComparedCommit.Builder comments(Collection<Comment> comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
- Parameters:
comments- An array of comment objects. Each comment object contains information about a comment on the comparison between commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
CommentsForComparedCommit.Builder comments(Comment... comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
- Parameters:
comments- An array of comment objects. Each comment object contains information about a comment on the comparison between commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comments
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.Builderavoiding the need to create one manually viaComment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#comments(List.) - Parameters:
comments- a consumer that will call methods onComment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#comments(java.util.Collection)
-
-