Interface ListInsightsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListInsightsResponse.Builder,ListInsightsResponse>, EksResponse.Builder, SdkBuilder<ListInsightsResponse.Builder,ListInsightsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListInsightsResponse

public static interface ListInsightsResponse.Builder extends EksResponse.Builder, SdkPojo, CopyableBuilder<ListInsightsResponse.Builder,ListInsightsResponse>
  • Method Details

    • insights

      The returned list of insights.

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

      The returned list of insights.

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

      The returned list of insights.

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

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

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

      ListInsightsResponse.Builder nextToken(String nextToken)

      The nextToken value to include in a future ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The nextToken value to include in a future ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.