Interface DescribePullRequestEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<DescribePullRequestEventsResponse.Builder,DescribePullRequestEventsResponse>,SdkBuilder<DescribePullRequestEventsResponse.Builder,DescribePullRequestEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePullRequestEventsResponse
public static interface DescribePullRequestEventsResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<DescribePullRequestEventsResponse.Builder,DescribePullRequestEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePullRequestEventsResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.DescribePullRequestEventsResponse.BuilderpullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)Information about the pull request events.DescribePullRequestEventsResponse.BuilderpullRequestEvents(Consumer<PullRequestEvent.Builder>... pullRequestEvents)Information about the pull request events.DescribePullRequestEventsResponse.BuilderpullRequestEvents(PullRequestEvent... pullRequestEvents)Information about the pull request events.-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pullRequestEvents
DescribePullRequestEventsResponse.Builder pullRequestEvents(Collection<PullRequestEvent> pullRequestEvents)
Information about the pull request events.
- Parameters:
pullRequestEvents- Information about the pull request events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestEvents
DescribePullRequestEventsResponse.Builder pullRequestEvents(PullRequestEvent... pullRequestEvents)
Information about the pull request events.
- Parameters:
pullRequestEvents- Information about the pull request events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestEvents
DescribePullRequestEventsResponse.Builder pullRequestEvents(Consumer<PullRequestEvent.Builder>... pullRequestEvents)
Information about the pull request events.
This is a convenience method that creates an instance of thePullRequestEvent.Builderavoiding the need to create one manually viaPullRequestEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pullRequestEvents(List.) - Parameters:
pullRequestEvents- a consumer that will call methods onPullRequestEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pullRequestEvents(java.util.Collection)
-
nextToken
DescribePullRequestEventsResponse.Builder nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
- Parameters:
nextToken- An enumeration token that can be used in a request to return the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-