public static interface ListLedgersResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<ListLedgersResponse.Builder,ListLedgersResponse>
Modifier and Type | Method and Description |
---|---|
ListLedgersResponse.Builder |
ledgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
|
ListLedgersResponse.Builder |
ledgers(Consumer<LedgerSummary.Builder>... ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
|
ListLedgersResponse.Builder |
ledgers(LedgerSummary... ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
|
ListLedgersResponse.Builder |
nextToken(String nextToken)
A pagination token, indicating whether there are more results available:
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListLedgersResponse.Builder ledgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
ledgers
- The array of ledger summaries that are associated with the current AWS account and Region.ListLedgersResponse.Builder ledgers(LedgerSummary... ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
ledgers
- The array of ledger summaries that are associated with the current AWS account and Region.ListLedgersResponse.Builder ledgers(Consumer<LedgerSummary.Builder>... ledgers)
The array of ledger summaries that are associated with the current AWS account and Region.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #ledgers(List)
.ledgers
- a consumer that will call methods on List.Builder
#ledgers(List)
ListLedgersResponse.Builder nextToken(String nextToken)
A pagination token, indicating whether there are more results available:
If NextToken
is empty, then the last page of results has been processed and there are no more
results to be retrieved.
If NextToken
is not empty, then there are more results available. To retrieve the next
page of results, use the value of NextToken
in a subsequent ListLedgers
call.
nextToken
- A pagination token, indicating whether there are more results available:
If NextToken
is empty, then the last page of results has been processed and there are no
more results to be retrieved.
If NextToken
is not empty, then there are more results available. To retrieve the
next page of results, use the value of NextToken
in a subsequent ListLedgers
call.