@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLedgersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLedgersResult() |
Modifier and Type | Method and Description |
---|---|
ListLedgersResult |
clone() |
boolean |
equals(Object obj) |
List<LedgerSummary> |
getLedgers()
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
|
String |
getNextToken()
A pagination token, indicating whether there are more results available:
|
int |
hashCode() |
void |
setLedgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
|
void |
setNextToken(String nextToken)
A pagination token, indicating whether there are more results available:
|
String |
toString()
Returns a string representation of this object.
|
ListLedgersResult |
withLedgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
|
ListLedgersResult |
withLedgers(LedgerSummary... ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
|
ListLedgersResult |
withNextToken(String nextToken)
A pagination token, indicating whether there are more results available:
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LedgerSummary> getLedgers()
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
public void setLedgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
ledgers
- The array of ledger summaries that are associated with the current Amazon Web Services account and Region.public ListLedgersResult withLedgers(LedgerSummary... ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
NOTE: This method appends the values to the existing list (if any). Use
setLedgers(java.util.Collection)
or withLedgers(java.util.Collection)
if you want to override
the existing values.
ledgers
- The array of ledger summaries that are associated with the current Amazon Web Services account and Region.public ListLedgersResult withLedgers(Collection<LedgerSummary> ledgers)
The array of ledger summaries that are associated with the current Amazon Web Services account and Region.
ledgers
- The array of ledger summaries that are associated with the current Amazon Web Services account and Region.public void setNextToken(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.
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.
public String getNextToken()
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 ListLedgersResult withNextToken(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.
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.
public String toString()
toString
in class Object
Object.toString()
public ListLedgersResult clone()