Interface ListInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInsightsResponse.Builder,
,ListInsightsResponse> EksResponse.Builder
,SdkBuilder<ListInsightsResponse.Builder,
,ListInsightsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInsightsResponse
@Mutable
@NotThreadSafe
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.ThenextToken
value to include in a futureListInsights
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaInsightSummary.builder()
.When the
Consumer
completes,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
nextToken
value to include in a futureListInsights
request. When the results of aListInsights
request exceedmaxResults
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListInsights
request. When the results of aListInsights
request exceedmaxResults
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-