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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProposalVotesResponse.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListProposalVotesResponse.BuilderproposalVotes(Collection<VoteSummary> proposalVotes)The list of votes.ListProposalVotesResponse.BuilderproposalVotes(Consumer<VoteSummary.Builder>... proposalVotes)The list of votes.ListProposalVotesResponse.BuilderproposalVotes(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
proposalVotes
ListProposalVotesResponse.Builder proposalVotes(Collection<VoteSummary> 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
ListProposalVotesResponse.Builder proposalVotes(VoteSummary... 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
ListProposalVotesResponse.Builder proposalVotes(Consumer<VoteSummary.Builder>... proposalVotes)
The list of votes.
This is a convenience method that creates an instance of theVoteSummary.Builderavoiding the need to create one manually viaVoteSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#proposalVotes(List.) - 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:
#proposalVotes(java.util.Collection)
-
nextToken
ListProposalVotesResponse.Builder nextToken(String 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.
-
-