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
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
-
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.Builderavoiding the need to create one manually viaJournalKinesisStreamDescription.builder().When the
Consumercompletes,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
NextTokenis empty, the last page of results has been processed and there are no more results to be retrieved. -
If
NextTokenis not empty, more results are available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalKinesisStreamsForLedgercall.
- Parameters:
nextToken-If
NextTokenis empty, the last page of results has been processed and there are no more results to be retrieved.If
NextTokenis not empty, more results are available. To retrieve the next page of results, use the value ofNextTokenin a subsequentListJournalKinesisStreamsForLedgercall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-