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