Interface PostCommentForComparedCommitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<PostCommentForComparedCommitResponse.Builder,
,PostCommentForComparedCommitResponse> SdkBuilder<PostCommentForComparedCommitResponse.Builder,
,PostCommentForComparedCommitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PostCommentForComparedCommitResponse
-
Method Summary
Modifier and TypeMethodDescriptionafterBlobId
(String afterBlobId) In the directionality you established, the blob ID of the after blob.afterCommitId
(String afterCommitId) In the directionality you established, the full commit ID of the after commit.beforeBlobId
(String beforeBlobId) In the directionality you established, the blob ID of the before blob.beforeCommitId
(String beforeCommitId) In the directionality you established, the full commit ID of the before commit.comment
(Consumer<Comment.Builder> comment) The content of the comment you posted.The content of the comment you posted.location
(Consumer<Location.Builder> location) The location of the comment in the comparison between the two commits.The location of the comment in the comparison between the two commits.repositoryName
(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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
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
The location of the comment in the comparison between the two commits.
This is a convenience method that creates an instance of theLocation.Builder
avoiding the need to create one manually viaLocation.builder()
.When the
Consumer
completes,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:
-
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
The content of the comment you posted.
This is a convenience method that creates an instance of theComment.Builder
avoiding the need to create one manually viaComment.builder()
.When the
Consumer
completes,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:
-