Interface PostCommentForComparedCommitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>,SdkBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PostCommentForComparedCommitResponse
public static interface PostCommentForComparedCommitResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PostCommentForComparedCommitResponse.BuilderafterBlobId(String afterBlobId)In the directionality you established, the blob ID of the after blob.PostCommentForComparedCommitResponse.BuilderafterCommitId(String afterCommitId)In the directionality you established, the full commit ID of the after commit.PostCommentForComparedCommitResponse.BuilderbeforeBlobId(String beforeBlobId)In the directionality you established, the blob ID of the before blob.PostCommentForComparedCommitResponse.BuilderbeforeCommitId(String beforeCommitId)In the directionality you established, the full commit ID of the before commit.default PostCommentForComparedCommitResponse.Buildercomment(Consumer<Comment.Builder> comment)The content of the comment you posted.PostCommentForComparedCommitResponse.Buildercomment(Comment comment)The content of the comment you posted.default PostCommentForComparedCommitResponse.Builderlocation(Consumer<Location.Builder> location)The location of the comment in the comparison between the two commits.PostCommentForComparedCommitResponse.Builderlocation(Location location)The location of the comment in the comparison between the two commits.PostCommentForComparedCommitResponse.BuilderrepositoryName(String repositoryName)The name of the repository where you posted a comment on the comparison between commits.-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
repositoryName
PostCommentForComparedCommitResponse.Builder repositoryName(String repositoryName)
The name of the repository where you posted a comment on the comparison between commits.
- Parameters:
repositoryName- The name of the repository where you posted a comment on the comparison between commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeCommitId
PostCommentForComparedCommitResponse.Builder beforeCommitId(String beforeCommitId)
In the directionality you established, the full commit ID of the before commit.
- Parameters:
beforeCommitId- In the directionality you established, the full commit ID of the before commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
PostCommentForComparedCommitResponse.Builder afterCommitId(String afterCommitId)
In the directionality you established, the full commit ID of the after commit.
- Parameters:
afterCommitId- In the directionality you established, the full commit ID of the after commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeBlobId
PostCommentForComparedCommitResponse.Builder beforeBlobId(String beforeBlobId)
In the directionality you established, the blob ID of the before blob.
- Parameters:
beforeBlobId- In the directionality you established, the blob ID of the before blob.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterBlobId
PostCommentForComparedCommitResponse.Builder afterBlobId(String afterBlobId)
In the directionality you established, the blob ID of the after blob.
- Parameters:
afterBlobId- In the directionality you established, the blob ID of the after blob.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
PostCommentForComparedCommitResponse.Builder location(Location location)
The location of the comment in the comparison between the two commits.
- Parameters:
location- The location of the comment in the comparison between the two commits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default PostCommentForComparedCommitResponse.Builder location(Consumer<Location.Builder> location)
The location of the comment in the comparison between the two commits.
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)
-
comment
PostCommentForComparedCommitResponse.Builder comment(Comment comment)
The content of the comment you posted.
- Parameters:
comment- The content of the comment you posted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
default PostCommentForComparedCommitResponse.Builder comment(Consumer<Comment.Builder> comment)
The content of the comment you posted.
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 tocomment(Comment).- Parameters:
comment- 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:
comment(Comment)
-
-