Interface ListLedgersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLedgersResponse.Builder,,ListLedgersResponse> QldbResponse.Builder,SdkBuilder<ListLedgersResponse.Builder,,ListLedgersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLedgersResponse
-
Method Summary
Modifier and TypeMethodDescriptionledgers(Collection<LedgerSummary> ledgers) The ledgers that are associated with the current Amazon Web Services account and Region.ledgers(Consumer<LedgerSummary.Builder>... ledgers) The ledgers that are associated with the current Amazon Web Services account and Region.ledgers(LedgerSummary... ledgers) The ledgers that are associated with the current Amazon Web Services account and Region.A pagination token, indicating whether there are more results available:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qldb.model.QldbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ledgers
The ledgers that are associated with the current Amazon Web Services account and Region.
- Parameters:
ledgers- The ledgers that are associated with the current Amazon Web Services account and Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ledgers
The ledgers that are associated with the current Amazon Web Services account and Region.
- Parameters:
ledgers- The ledgers that are associated with the current Amazon Web Services account and Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ledgers
The ledgers that are associated with the current Amazon Web Services account and Region.
This is a convenience method that creates an instance of theLedgerSummary.Builderavoiding the need to create one manually viaLedgerSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toledgers(List<LedgerSummary>).- Parameters:
ledgers- a consumer that will call methods onLedgerSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token, indicating whether there are more results available:
-
If
NextTokenis empty, then the last page of results has been processed and there are no more results to be retrieved. -
If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListLedgerscall.
- Parameters:
nextToken- A pagination token, indicating whether there are more results available:-
If
NextTokenis empty, then the last page of results has been processed and there are no more results to be retrieved. -
If
NextTokenis not empty, then there are more results available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListLedgerscall.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-