Interface ListInsightsResponse.Builder

  • Method Details

    • insights

      The list of insights returned for the specified entity.

      Parameters:
      insights - The list of insights returned for the specified entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      ListInsightsResponse.Builder insights(Insight... insights)

      The list of insights returned for the specified entity.

      Parameters:
      insights - The list of insights returned for the specified entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insights

      The list of insights returned for the specified entity.

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

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

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

      ListInsightsResponse.Builder nextToken(String nextToken)

      When NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

      Parameters:
      nextToken - When NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.