public static interface ListProposalVotesResponse.Builder extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListProposalVotesResponse.Builder,ListProposalVotesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListProposalVotesResponse.Builder |
nextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
ListProposalVotesResponse.Builder |
proposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
|
ListProposalVotesResponse.Builder |
proposalVotes(Consumer<VoteSummary.Builder>... proposalVotes)
The list of votes.
|
ListProposalVotesResponse.Builder |
proposalVotes(VoteSummary... proposalVotes)
The list of votes.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListProposalVotesResponse.Builder proposalVotes(Collection<VoteSummary> proposalVotes)
The list of votes.
proposalVotes - The list of votes.ListProposalVotesResponse.Builder proposalVotes(VoteSummary... proposalVotes)
The list of votes.
proposalVotes - The list of votes.ListProposalVotesResponse.Builder proposalVotes(Consumer<VoteSummary.Builder>... proposalVotes)
The list of votes.
This is a convenience method that creates an instance of theVoteSummary.Builder avoiding the need to
create one manually via VoteSummary.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #proposalVotes(List.
proposalVotes - a consumer that will call methods on
VoteSummary.Builder#proposalVotes(java.util.Collection) ListProposalVotesResponse.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken - The pagination token that indicates the next set of results to retrieve.Copyright © 2023. All rights reserved.