Interface ListProposalVotesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProposalVotesResponse.Builder,
,ListProposalVotesResponse> ManagedBlockchainResponse.Builder
,SdkBuilder<ListProposalVotesResponse.Builder,
,ListProposalVotesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProposalVotesResponse
public static interface ListProposalVotesResponse.Builder
extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListProposalVotesResponse.Builder,ListProposalVotesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that indicates the next set of results to retrieve.proposalVotes
(Collection<VoteSummary> proposalVotes) The list of votes.proposalVotes
(Consumer<VoteSummary.Builder>... proposalVotes) The list of votes.proposalVotes
(VoteSummary... proposalVotes) The list of votes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proposalVotes
The list of votes.
- Parameters:
proposalVotes
- The list of votes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposalVotes
The list of votes.
- Parameters:
proposalVotes
- The list of votes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposalVotes
The list of votes.
This is a convenience method that creates an instance of theVoteSummary.Builder
avoiding the need to create one manually viaVoteSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproposalVotes(List<VoteSummary>)
.- Parameters:
proposalVotes
- a consumer that will call methods onVoteSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-