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 Summary
Modifier and TypeMethodDescriptioninsights(Collection<InsightSummary> insights) The returned list of insights.insights(Consumer<InsightSummary.Builder>... insights) The returned list of insights.insights(InsightSummary... insights) The returned list of insights.ThenextTokenvalue to include in a futureListInsightsrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theInsightSummary.Builderavoiding the need to create one manually viaInsightSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsights(List<InsightSummary>).- Parameters:
insights- a consumer that will call methods onInsightSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureListInsightsrequest. When the results of aListInsightsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListInsightsrequest. When the results of aListInsightsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-