Interface ListJournalKinesisStreamsForLedgerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,ListJournalKinesisStreamsForLedgerResponse>,QldbResponse.Builder,SdkBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,ListJournalKinesisStreamsForLedgerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJournalKinesisStreamsForLedgerResponse
public static interface ListJournalKinesisStreamsForLedgerResponse.Builder extends QldbResponse.Builder, SdkPojo, CopyableBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,ListJournalKinesisStreamsForLedgerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJournalKinesisStreamsForLedgerResponse.BuildernextToken(String nextToken)ListJournalKinesisStreamsForLedgerResponse.Builderstreams(Collection<JournalKinesisStreamDescription> streams)The QLDB journal streams that are currently associated with the given ledger.ListJournalKinesisStreamsForLedgerResponse.Builderstreams(Consumer<JournalKinesisStreamDescription.Builder>... streams)The QLDB journal streams that are currently associated with the given ledger.ListJournalKinesisStreamsForLedgerResponse.Builderstreams(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 Detail
-
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 to#streams(List.) - 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:
#streams(java.util.Collection)
-
nextToken
ListJournalKinesisStreamsForLedgerResponse.Builder nextToken(String 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.
-
-
-