Interface ListPullRequestsRequest.Builder

    • Method Detail

      • repositoryName

        ListPullRequestsRequest.Builder repositoryName​(String repositoryName)

        The name of the repository for which you want to list pull requests.

        Parameters:
        repositoryName - The name of the repository for which you want to list pull requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorArn

        ListPullRequestsRequest.Builder authorArn​(String authorArn)

        Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.

        Parameters:
        authorArn - Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pullRequestStatus

        ListPullRequestsRequest.Builder pullRequestStatus​(String pullRequestStatus)

        Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

        Parameters:
        pullRequestStatus - Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PullRequestStatusEnum, PullRequestStatusEnum
      • pullRequestStatus

        ListPullRequestsRequest.Builder pullRequestStatus​(PullRequestStatusEnum pullRequestStatus)

        Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

        Parameters:
        pullRequestStatus - Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PullRequestStatusEnum, PullRequestStatusEnum
      • nextToken

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

        ListPullRequestsRequest.Builder maxResults​(Integer maxResults)

        A non-zero, non-negative integer used to limit the number of returned results.

        Parameters:
        maxResults - A non-zero, non-negative integer used to limit the number of returned results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.