Interface PostCommentForPullRequestResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>,SdkBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PostCommentForPullRequestResponse
public static interface PostCommentForPullRequestResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PostCommentForPullRequestResponse.BuilderafterBlobId(String afterBlobId)In the directionality of the pull request, the blob ID of the after blob.PostCommentForPullRequestResponse.BuilderafterCommitId(String afterCommitId)The full commit ID of the commit in the destination branch where the pull request is merged.PostCommentForPullRequestResponse.BuilderbeforeBlobId(String beforeBlobId)In the directionality of the pull request, the blob ID of the before blob.PostCommentForPullRequestResponse.BuilderbeforeCommitId(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.default PostCommentForPullRequestResponse.Buildercomment(Consumer<Comment.Builder> comment)The content of the comment you posted.PostCommentForPullRequestResponse.Buildercomment(Comment comment)The content of the comment you posted.default PostCommentForPullRequestResponse.Builderlocation(Consumer<Location.Builder> location)The location of the change where you posted your comment.PostCommentForPullRequestResponse.Builderlocation(Location location)The location of the change where you posted your comment.PostCommentForPullRequestResponse.BuilderpullRequestId(String pullRequestId)The system-generated ID of the pull request.PostCommentForPullRequestResponse.BuilderrepositoryName(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
repositoryName
PostCommentForPullRequestResponse.Builder repositoryName(String 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
PostCommentForPullRequestResponse.Builder pullRequestId(String 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
PostCommentForPullRequestResponse.Builder 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.
- 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
PostCommentForPullRequestResponse.Builder afterCommitId(String 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
PostCommentForPullRequestResponse.Builder beforeBlobId(String 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
PostCommentForPullRequestResponse.Builder afterBlobId(String 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
PostCommentForPullRequestResponse.Builder location(Location 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
default PostCommentForPullRequestResponse.Builder location(Consumer<Location.Builder> location)
The location of the change where you posted your comment.
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
PostCommentForPullRequestResponse.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 PostCommentForPullRequestResponse.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)
-
-