public static interface ListPullRequestsRequest.Builder extends CodeCommitRequest.Builder, 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 |
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.
|
ListPullRequestsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.