Interface PostCommentForPullRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<PostCommentForPullRequestResponse.Builder,
,PostCommentForPullRequestResponse> SdkBuilder<PostCommentForPullRequestResponse.Builder,
,PostCommentForPullRequestResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PostCommentForPullRequestResponse
-
Method Summary
Modifier and TypeMethodDescriptionafterBlobId
(String afterBlobId) In the directionality of the pull request, the blob ID of the after blob.afterCommitId
(String afterCommitId) The full commit ID of the commit in the destination branch where the pull request is merged.beforeBlobId
(String beforeBlobId) In the directionality of the pull request, the blob ID of the before blob.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.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 change where you posted your comment.The location of the change where you posted your comment.pullRequestId
(String pullRequestId) The system-generated ID of the pull request.repositoryName
(String repositoryName) The name of the repository where you posted a comment on a pull request.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 a pull request.
- Parameters:
repositoryName
- The name of the repository where you posted a comment on a pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestId
The system-generated ID of the pull request.
- Parameters:
pullRequestId
- The system-generated ID of the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterCommitId
The full commit ID of the commit in the destination branch where the pull request is merged.
- Parameters:
afterCommitId
- The full commit ID of the commit in the destination branch where the pull request is merged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beforeBlobId
In the directionality of the pull request, the blob ID of the before blob.
- Parameters:
beforeBlobId
- In the directionality of the pull request, 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 of the pull request, the blob ID of the after blob.
- Parameters:
afterBlobId
- In the directionality of the pull request, 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 change where you posted your comment.
- Parameters:
location
- The location of the change where you posted your comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the change where you posted your comment.
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:
-