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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInsightsResponse.Builderinsights(Collection<InsightSummary> insights)The returned list of insights.ListInsightsResponse.Builderinsights(Consumer<InsightSummary.Builder>... insights)The returned list of insights.ListInsightsResponse.Builderinsights(InsightSummary... insights)The returned list of insights.ListInsightsResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListInsightsrequest.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
insights
ListInsightsResponse.Builder insights(Collection<InsightSummary> 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
ListInsightsResponse.Builder insights(InsightSummary... 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
ListInsightsResponse.Builder insights(Consumer<InsightSummary.Builder>... 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 to#insights(List.) - 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:
#insights(java.util.Collection)
-
nextToken
ListInsightsResponse.Builder nextToken(String 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.
-
-