public static interface ListPullRequestsRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>
Modifier and Type | Method and Description |
---|---|
ListPullRequestsRequest.Builder |
authorArn(String authorArn)
Optional.
|
ListPullRequestsRequest.Builder |
maxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results.
|
ListPullRequestsRequest.Builder |
nextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
|
ListPullRequestsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListPullRequestsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListPullRequestsRequest.Builder |
pullRequestStatus(PullRequestStatusEnum pullRequestStatus)
Optional.
|
ListPullRequestsRequest.Builder |
pullRequestStatus(String pullRequestStatus)
Optional.
|
ListPullRequestsRequest.Builder |
repositoryName(String repositoryName)
The name of the repository for which you want to list pull requests.
|
build
overrideConfiguration
copy
applyMutation, build
ListPullRequestsRequest.Builder repositoryName(String repositoryName)
The name of the repository for which you want to list pull requests.
repositoryName
- The name of the repository for which you want to list pull requests.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.
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.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.
pullRequestStatus
- Optional. The status of the pull request. If used, this refines the results to the pull requests that
match the specified status.PullRequestStatusEnum
,
PullRequestStatusEnum
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.
pullRequestStatus
- Optional. The status of the pull request. If used, this refines the results to the pull requests that
match the specified status.PullRequestStatusEnum
,
PullRequestStatusEnum
ListPullRequestsRequest.Builder nextToken(String nextToken)
An enumeration token that when provided in a request, returns the next batch of the results.
nextToken
- An enumeration token that when provided in a request, returns the next batch of the results.ListPullRequestsRequest.Builder maxResults(Integer maxResults)
A non-negative integer used to limit the number of returned results.
maxResults
- A non-negative integer used to limit the number of returned results.ListPullRequestsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListPullRequestsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.