Interface ListContractualInvestmentSummariesResponse.Builder

  • Method Details

    • items

      The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.

      Parameters:
      items - The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.

      Parameters:
      items - The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The list of investment summaries under the contract. It includes the investment name, maximum investment amount, and investment type. It does not provide investment details. Use this to know if the contract has investment terms and what type.

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

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

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

      The pagination token to use on subsequent calls to retrieve the next set of results.

      Parameters:
      nextToken - The pagination token to use on subsequent calls to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.