public ListLedgersResult withLedgers(java.util.Collection<LedgerSummary> ledgers) {
        setLedgers(ledgers);
        return this;
    }
<p>
The ledgers that are associated with the current Amazon Web Services account and Region.
</p>

@param ledgers
       The ledgers that are associated with the current Amazon Web Services account and Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qldb/src/main/java/com/amazonaws/services/qldb/model/ListLedgersResult.java