Interface DescribePullRequestEventsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<DescribePullRequestEventsRequest.Builder,,DescribePullRequestEventsRequest> SdkBuilder<DescribePullRequestEventsRequest.Builder,,DescribePullRequestEventsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribePullRequestEventsRequest
public static interface DescribePullRequestEventsRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the user whose actions resulted in the event.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.pullRequestEventType(String pullRequestEventType) Optional.pullRequestEventType(PullRequestEventType pullRequestEventType) Optional.pullRequestId(String pullRequestId) The system-generated ID of the pull request.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
-
pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Parameters:
pullRequestId- The system-generated ID of the pull request. To get this ID, use ListPullRequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestEventType
Optional. The pull request event type about which you want to return information.
- Parameters:
pullRequestEventType- Optional. The pull request event type about which you want to return information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pullRequestEventType
DescribePullRequestEventsRequest.Builder pullRequestEventType(PullRequestEventType pullRequestEventType) Optional. The pull request event type about which you want to return information.
- Parameters:
pullRequestEventType- Optional. The pull request event type about which you want to return information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actorArn
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
- Parameters:
actorArn- The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. The default is 100 events, which is also the maximum number of events that can be returned in a result.
- Parameters:
maxResults- A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribePullRequestEventsRequest.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
DescribePullRequestEventsRequest.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.
-