public static interface GetPullRequestApprovalStatesResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetPullRequestApprovalStatesResponse.Builder,GetPullRequestApprovalStatesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetPullRequestApprovalStatesResponse.Builder |
approvals(Approval... approvals)
Information about users who have approved the pull request.
|
GetPullRequestApprovalStatesResponse.Builder |
approvals(Collection<Approval> approvals)
Information about users who have approved the pull request.
|
GetPullRequestApprovalStatesResponse.Builder |
approvals(Consumer<Approval.Builder>... approvals)
Information about users who have approved the pull request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetPullRequestApprovalStatesResponse.Builder approvals(Collection<Approval> approvals)
Information about users who have approved the pull request.
approvals - Information about users who have approved the pull request.GetPullRequestApprovalStatesResponse.Builder approvals(Approval... approvals)
Information about users who have approved the pull request.
approvals - Information about users who have approved the pull request.GetPullRequestApprovalStatesResponse.Builder approvals(Consumer<Approval.Builder>... approvals)
Information about users who have approved the pull request.
This is a convenience method that creates an instance of theApproval.Builder avoiding the need to create one
manually via Approval.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #approvals(List.
approvals - a consumer that will call methods on
Approval.Builder#approvals(java.util.Collection) Copyright © 2023. All rights reserved.