Interface ListPullRequestsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<ListPullRequestsRequest.Builder,,ListPullRequestsRequest> SdkBuilder<ListPullRequestsRequest.Builder,,ListPullRequestsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPullRequestsRequest
@Mutable
@NotThreadSafe
public static interface ListPullRequestsRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionOptional.maxResults(Integer maxResults) A non-zero, non-negative integer used to limit the number of returned results.An enumeration token that, when provided in a request, returns the next batch of the results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pullRequestStatus(String pullRequestStatus) Optional.pullRequestStatus(PullRequestStatusEnum pullRequestStatus) Optional.repositoryName(String repositoryName) The name of the repository for which you want to list pull requests.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPullRequestsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-