public static interface UpdatePullRequestDescriptionResponse.Builder extends CodeCommitResponse.Builder, CopyableBuilder<UpdatePullRequestDescriptionResponse.Builder,UpdatePullRequestDescriptionResponse>
Modifier and Type | Method and Description |
---|---|
default UpdatePullRequestDescriptionResponse.Builder |
pullRequest(Consumer<PullRequest.Builder> pullRequest)
Information about the updated pull request.
|
UpdatePullRequestDescriptionResponse.Builder |
pullRequest(PullRequest pullRequest)
Information about the updated pull request.
|
build
copy
apply, build
UpdatePullRequestDescriptionResponse.Builder pullRequest(PullRequest pullRequest)
Information about the updated pull request.
pullRequest
- Information about the updated pull request.default UpdatePullRequestDescriptionResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest)
Information about the updated pull request.
This is a convenience that creates an instance of thePullRequest.Builder
avoiding the need to create
one manually via PullRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to pullRequest(PullRequest)
.pullRequest
- a consumer that will call methods on PullRequest.Builder
pullRequest(PullRequest)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.