Interface GetCommentsForPullRequestResponse.Builder

    • Method Detail

      • commentsForPullRequestData

        GetCommentsForPullRequestResponse.Builder commentsForPullRequestData​(Collection<CommentsForPullRequest> commentsForPullRequestData)

        An array of comment objects on the pull request.

        Parameters:
        commentsForPullRequestData - An array of comment objects on the pull request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • commentsForPullRequestData

        GetCommentsForPullRequestResponse.Builder commentsForPullRequestData​(CommentsForPullRequest... commentsForPullRequestData)

        An array of comment objects on the pull request.

        Parameters:
        commentsForPullRequestData - An array of comment objects on the pull request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetCommentsForPullRequestResponse.Builder nextToken​(String nextToken)

        An enumeration token that can be used in a request to return the next batch of the results.

        Parameters:
        nextToken - An enumeration token that can be used in a request to return the next batch of the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.