Interface ListRecommendationsResponse.Builder

  • Method Details

    • recommendations

      The recommendations applicable to your account.

      Parameters:
      recommendations - The recommendations applicable to your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendations

      ListRecommendationsResponse.Builder recommendations(Recommendation... recommendations)

      The recommendations applicable to your account.

      Parameters:
      recommendations - The recommendations applicable to your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendations

      The recommendations applicable to your account.

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

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

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

      A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse to use in the subsequent call to ListRecommendations with the same parameters to retrieve the next page of recommendations.

      Parameters:
      nextToken - A string token indicating that there might be additional recommendations available to be listed. Use the token provided in the ListRecommendationsResponse to use in the subsequent call to ListRecommendations with the same parameters to retrieve the next page of recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.