Interface ListJournalKinesisStreamsForLedgerResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,
,ListJournalKinesisStreamsForLedgerResponse> QldbResponse.Builder
,SdkBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,
,ListJournalKinesisStreamsForLedgerResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJournalKinesisStreamsForLedgerResponse
-
Method Summary
Modifier and TypeMethodDescriptionstreams
(Collection<JournalKinesisStreamDescription> streams) The QLDB journal streams that are currently associated with the given ledger.streams
(Consumer<JournalKinesisStreamDescription.Builder>... streams) The QLDB journal streams that are currently associated with the given ledger.streams
(JournalKinesisStreamDescription... streams) The QLDB journal streams that are currently associated with the given ledger.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
-
streams
ListJournalKinesisStreamsForLedgerResponse.Builder streams(Collection<JournalKinesisStreamDescription> streams) The QLDB journal streams that are currently associated with the given ledger.
- Parameters:
streams
- The QLDB journal streams that are currently associated with the given ledger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
ListJournalKinesisStreamsForLedgerResponse.Builder streams(JournalKinesisStreamDescription... streams) The QLDB journal streams that are currently associated with the given ledger.
- Parameters:
streams
- The QLDB journal streams that are currently associated with the given ledger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
ListJournalKinesisStreamsForLedgerResponse.Builder streams(Consumer<JournalKinesisStreamDescription.Builder>... streams) The QLDB journal streams that are currently associated with the given ledger.
This is a convenience method that creates an instance of theJournalKinesisStreamDescription.Builder
avoiding the need to create one manually viaJournalKinesisStreamDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(List<JournalKinesisStreamDescription>)
.- Parameters:
streams
- a consumer that will call methods onJournalKinesisStreamDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
-
If
NextToken
is empty, the last page of results has been processed and there are no more results to be retrieved. -
If
NextToken
is not empty, more results are available. To retrieve the next page of results, use the value ofNextToken
in a subsequentListJournalKinesisStreamsForLedger
call.
- Parameters:
nextToken
-If
NextToken
is empty, the last page of results has been processed and there are no more results to be retrieved.If
NextToken
is not empty, more results are available. To retrieve the next page of results, use the value ofNextToken
in a subsequentListJournalKinesisStreamsForLedger
call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-