@Generated(value="software.amazon.awssdk:codegen") public final class ListJournalKinesisStreamsForLedgerResponse extends QldbResponse implements ToCopyableBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,ListJournalKinesisStreamsForLedgerResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListJournalKinesisStreamsForLedgerResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListJournalKinesisStreamsForLedgerResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasStreams()
For responses, this returns true if the service returned a value for the Streams property.
|
String |
nextToken()
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListJournalKinesisStreamsForLedgerResponse.Builder> |
serializableBuilderClass() |
List<JournalKinesisStreamDescription> |
streams()
The array of QLDB journal stream descriptors that are associated with the given ledger.
|
ListJournalKinesisStreamsForLedgerResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasStreams()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<JournalKinesisStreamDescription> streams()
The array of QLDB journal stream descriptors that are associated with the given ledger.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStreams() method.
public final String 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 of NextToken in a subsequent ListJournalKinesisStreamsForLedger call.
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 of NextToken in a subsequent
ListJournalKinesisStreamsForLedger call.
public ListJournalKinesisStreamsForLedgerResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListJournalKinesisStreamsForLedgerResponse.Builder,ListJournalKinesisStreamsForLedgerResponse>toBuilder in class AwsResponsepublic static ListJournalKinesisStreamsForLedgerResponse.Builder builder()
public static Class<? extends ListJournalKinesisStreamsForLedgerResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.