Interface ListProposalsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProposalsResponse.Builder,,ListProposalsResponse> ManagedBlockchainResponse.Builder,SdkBuilder<ListProposalsResponse.Builder,,ListProposalsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProposalsResponse
public static interface ListProposalsResponse.Builder
extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListProposalsResponse.Builder,ListProposalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that indicates the next set of results to retrieve.proposals(Collection<ProposalSummary> proposals) The summary of each proposal made on the network.proposals(Consumer<ProposalSummary.Builder>... proposals) The summary of each proposal made on the network.proposals(ProposalSummary... proposals) The summary of each proposal made on the network.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proposals
The summary of each proposal made on the network.
- Parameters:
proposals- The summary of each proposal made on the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposals
The summary of each proposal made on the network.
- Parameters:
proposals- The summary of each proposal made on the network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proposals
The summary of each proposal made on the network.
This is a convenience method that creates an instance of theProposalSummary.Builderavoiding the need to create one manually viaProposalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproposals(List<ProposalSummary>).- Parameters:
proposals- a consumer that will call methods onProposalSummary.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.
-