Interface ListLedgersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLedgersResponse.Builder,ListLedgersResponse>
,QldbResponse.Builder
,SdkBuilder<ListLedgersResponse.Builder,ListLedgersResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListLedgersResponse
public static interface ListLedgersResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<ListLedgersResponse.Builder,ListLedgersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLedgersResponse.Builder
ledgers(Collection<LedgerSummary> ledgers)
The ledgers that are associated with the current Amazon Web Services account and Region.ListLedgersResponse.Builder
ledgers(Consumer<LedgerSummary.Builder>... ledgers)
The ledgers that are associated with the current Amazon Web Services account and Region.ListLedgersResponse.Builder
ledgers(LedgerSummary... ledgers)
The ledgers that are associated with the current Amazon Web Services account and Region.ListLedgersResponse.Builder
nextToken(String nextToken)
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ledgers
ListLedgersResponse.Builder ledgers(Collection<LedgerSummary> 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
ListLedgersResponse.Builder ledgers(LedgerSummary... 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
ListLedgersResponse.Builder ledgers(Consumer<LedgerSummary.Builder>... 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 to#ledgers(List
.) - 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:
#ledgers(java.util.Collection
)
-
nextToken
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 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.
-
-
-