Interface ListLedgersResponse.Builder

  • Method Details

    • ledgers

      The ledgers that are associated with the current Amazon Web Services account and Region.

      Parameters:
      ledgers - The ledgers that are associated with the current Amazon Web Services account and Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ledgers

      The ledgers that are associated with the current Amazon Web Services account and Region.

      Parameters:
      ledgers - The ledgers that are associated with the current Amazon Web Services account and Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ledgers

      The ledgers that are associated with the current Amazon Web Services account and Region.

      This is a convenience method that creates an instance of the LedgerSummary.Builder avoiding the need to create one manually via LedgerSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ledgers(List<LedgerSummary>).

      Parameters:
      ledgers - a consumer that will call methods on LedgerSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListLedgersResponse.Builder nextToken(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.