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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListProposalVotesResponse.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 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 #proposalVotes(List)
.proposalVotes
- a consumer that will call methods on List.Builder
#proposalVotes(List)
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 © 2021 Amazon Web Services, Inc. All Rights Reserved.