Interface ListPullRequestsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeCommitRequest.Builder, CopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>, SdkBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListPullRequestsRequest

public static interface ListPullRequestsRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>
  • Method Details

    • 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

      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:
    • 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:
    • 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.
    • overrideConfiguration

      ListPullRequestsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.