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 Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
overrideConfiguration
ListPullRequestsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPullRequestsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-