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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #approvals(List) .approvals - a consumer that will call methods on List.Builder #approvals(List) Copyright © 2021. All rights reserved.