Interface SearchInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchInsightsResponse.Builder,,SearchInsightsResponse> DevOpsGuruResponse.Builder,SdkBuilder<SearchInsightsResponse.Builder,,SearchInsightsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchInsightsResponse
public static interface SearchInsightsResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<SearchInsightsResponse.Builder,SearchInsightsResponse>
-
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 proactive insights.proactiveInsights(Consumer<ProactiveInsightSummary.Builder>... proactiveInsights) The returned proactive insights.proactiveInsights(ProactiveInsightSummary... proactiveInsights) The returned proactive insights.reactiveInsights(Collection<ReactiveInsightSummary> reactiveInsights) The returned reactive insights.reactiveInsights(Consumer<ReactiveInsightSummary.Builder>... reactiveInsights) The returned reactive insights.reactiveInsights(ReactiveInsightSummary... reactiveInsights) The returned 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
proactiveInsights
SearchInsightsResponse.Builder proactiveInsights(Collection<ProactiveInsightSummary> proactiveInsights) The returned proactive insights.
- Parameters:
proactiveInsights- The returned proactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveInsights
The returned proactive insights.
- Parameters:
proactiveInsights- The returned proactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proactiveInsights
SearchInsightsResponse.Builder proactiveInsights(Consumer<ProactiveInsightSummary.Builder>... proactiveInsights) The returned 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
SearchInsightsResponse.Builder reactiveInsights(Collection<ReactiveInsightSummary> reactiveInsights) The returned reactive insights.
- Parameters:
reactiveInsights- The returned reactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveInsights
The returned reactive insights.
- Parameters:
reactiveInsights- The returned reactive insights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactiveInsights
SearchInsightsResponse.Builder reactiveInsights(Consumer<ReactiveInsightSummary.Builder>... reactiveInsights) The returned 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.
-