Interface GetCommentsForComparedCommitRequest.Builder

    • Method Detail

      • repositoryName

        GetCommentsForComparedCommitRequest.Builder repositoryName​(String repositoryName)

        The name of the repository where you want to compare commits.

        Parameters:
        repositoryName - The name of the repository where you want to compare commits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeCommitId

        GetCommentsForComparedCommitRequest.Builder beforeCommitId​(String beforeCommitId)

        To establish the directionality of the comparison, the full commit ID of the before commit.

        Parameters:
        beforeCommitId - To establish the directionality of the comparison, the full commit ID of the before commit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterCommitId

        GetCommentsForComparedCommitRequest.Builder afterCommitId​(String afterCommitId)

        To establish the directionality of the comparison, the full commit ID of the after commit.

        Parameters:
        afterCommitId - To establish the directionality of the comparison, the full commit ID of the after commit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetCommentsForComparedCommitRequest.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

        GetCommentsForComparedCommitRequest.Builder maxResults​(Integer maxResults)

        A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments, but you can configure up to 500.

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