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
copy
Methods inherited from interface software.amazon.awssdk.services.qldb.model.QldbResponse.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, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaLedgerSummary.builder()
.When the
Consumer
completes,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
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 ofNextToken
in a subsequentListLedgers
call.
- Parameters:
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 ofNextToken
in a subsequentListLedgers
call.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-