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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProposalsResponse.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListProposalsResponse.Builderproposals(Collection<ProposalSummary> proposals)The summary of each proposal made on the network.ListProposalsResponse.Builderproposals(Consumer<ProposalSummary.Builder>... proposals)The summary of each proposal made on the network.ListProposalsResponse.Builderproposals(ProposalSummary... proposals)The summary of each proposal made on the network.-
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
-
proposals
ListProposalsResponse.Builder proposals(Collection<ProposalSummary> 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
ListProposalsResponse.Builder proposals(ProposalSummary... 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
ListProposalsResponse.Builder proposals(Consumer<ProposalSummary.Builder>... 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 to#proposals(List.) - 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:
#proposals(java.util.Collection)
-
nextToken
ListProposalsResponse.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.
-
-