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