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 Details

    • 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

      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 the Location.Builder avoiding the need to create one manually via Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to location(Location).

      Parameters:
      location - a consumer that will call methods on Location.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 the Comment.Builder avoiding the need to create one manually via Comment.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to comment(Comment).

      Parameters:
      comment - a consumer that will call methods on Comment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: