@Generated(value="software.amazon.awssdk:codegen") public final class ListLedgersResponse extends QldbResponse implements ToCopyableBuilder<ListLedgersResponse.Builder,ListLedgersResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListLedgersResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListLedgersResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLedgers()
Returns true if the Ledgers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<LedgerSummary> |
ledgers()
The array of ledger summaries that are associated with the current AWS account and Region.
|
String |
nextToken()
A pagination token, indicating whether there are more results available:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListLedgersResponse.Builder> |
serializableBuilderClass() |
ListLedgersResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasLedgers()
public List<LedgerSummary> ledgers()
The array of ledger summaries that are associated with the current AWS account and Region.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLedgers() to see if a value was sent in this field.
public 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 of NextToken in a subsequent ListLedgers call.
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 of NextToken in a subsequent ListLedgers
call.
public ListLedgersResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListLedgersResponse.Builder,ListLedgersResponse>toBuilder in class AwsResponsepublic static ListLedgersResponse.Builder builder()
public static Class<? extends ListLedgersResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.