Interface ListInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInsightsResponse.Builder,,ListInsightsResponse> DevOpsGuruResponse.Builder,SdkBuilder<ListInsightsResponse.Builder,,ListInsightsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInsightsResponse
public static interface ListInsightsResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<ListInsightsResponse.Builder,ListInsightsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to retrieve the next page of results for this operation.proactiveInsights(Collection<ProactiveInsightSummary> proactiveInsights) The returned list of proactive insights.proactiveInsights(Consumer<ProactiveInsightSummary.Builder>... proactiveInsights) The returned list of proactive insights.proactiveInsights(ProactiveInsightSummary... proactiveInsights) The returned list of proactive insights.reactiveInsights(Collection<ReactiveInsightSummary> reactiveInsights) The returned list of reactive insights.reactiveInsights(Consumer<ReactiveInsightSummary.Builder>... reactiveInsights) The returned list of reactive insights.reactiveInsights(ReactiveInsightSummary... reactiveInsights) The returned list of reactive insights.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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
-
proactiveInsights
ListInsightsResponse.Builder proactiveInsights(Collection<ProactiveInsightSummary> proactiveInsights) The returned list of proactive insights.
- Parameters:
proactiveInsights- The returned list of proactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveInsights
The returned list of proactive insights.
- Parameters:
proactiveInsights- The returned list of proactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveInsights
ListInsightsResponse.Builder proactiveInsights(Consumer<ProactiveInsightSummary.Builder>... proactiveInsights) The returned list of proactive insights.
This is a convenience method that creates an instance of theProactiveInsightSummary.Builderavoiding the need to create one manually viaProactiveInsightSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproactiveInsights(List<ProactiveInsightSummary>).- Parameters:
proactiveInsights- a consumer that will call methods onProactiveInsightSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reactiveInsights
The returned list of reactive insights.
- Parameters:
reactiveInsights- The returned list of reactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveInsights
The returned list of reactive insights.
- Parameters:
reactiveInsights- The returned list of reactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveInsights
ListInsightsResponse.Builder reactiveInsights(Consumer<ReactiveInsightSummary.Builder>... reactiveInsights) The returned list of reactive insights.
This is a convenience method that creates an instance of theReactiveInsightSummary.Builderavoiding the need to create one manually viaReactiveInsightSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreactiveInsights(List<ReactiveInsightSummary>).- Parameters:
reactiveInsights- a consumer that will call methods onReactiveInsightSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-