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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetPullRequestResponse.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.BuilderpullRequest(PullRequest)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.