public static interface MergePullRequestBySquashResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<MergePullRequestBySquashResponse.Builder,MergePullRequestBySquashResponse>
| Modifier and Type | Method and Description |
|---|---|
default MergePullRequestBySquashResponse.Builder |
pullRequest(Consumer<PullRequest.Builder> pullRequest)
Sets the value of the PullRequest property for this object.
|
MergePullRequestBySquashResponse.Builder |
pullRequest(PullRequest pullRequest)
Sets the value of the PullRequest property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildMergePullRequestBySquashResponse.Builder pullRequest(PullRequest pullRequest)
pullRequest - The new value for the PullRequest property for this object.default MergePullRequestBySquashResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest)
PullRequest.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 © 2022. All rights reserved.