public static interface CreatePullRequestResponse.Builder extends CodeCommitResponse.Builder, CopyableBuilder<CreatePullRequestResponse.Builder,CreatePullRequestResponse>
Modifier and Type | Method and Description |
---|---|
default CreatePullRequestResponse.Builder |
pullRequest(Consumer<PullRequest.Builder> pullRequest)
Information about the newly created pull request.
|
CreatePullRequestResponse.Builder |
pullRequest(PullRequest pullRequest)
Information about the newly created pull request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreatePullRequestResponse.Builder pullRequest(PullRequest pullRequest)
Information about the newly created pull request.
pullRequest
- Information about the newly created pull request.default CreatePullRequestResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest)
Information about the newly created 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.