Interface GetCommentsForPullRequestRequest.Builder

    • Method Detail

      • repositoryName

        GetCommentsForPullRequestRequest.Builder repositoryName​(String repositoryName)

        The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.

        Parameters:
        repositoryName - The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeCommitId

        GetCommentsForPullRequestRequest.Builder beforeCommitId​(String beforeCommitId)

        The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.

        Parameters:
        beforeCommitId - The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterCommitId

        GetCommentsForPullRequestRequest.Builder afterCommitId​(String afterCommitId)

        The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included.

        Parameters:
        afterCommitId - The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: afterCommitId must be specified when repositoryName is included.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetCommentsForPullRequestRequest.Builder nextToken​(String nextToken)

        An enumeration token that, when provided in a request, returns the next batch of the results.

        Parameters:
        nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        GetCommentsForPullRequestRequest.Builder maxResults​(Integer maxResults)

        A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

        Parameters:
        maxResults - A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.