Interface GetInsightResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInsightResultsResponse.Builder,
,GetInsightResultsResponse> SdkBuilder<GetInsightResultsResponse.Builder,
,GetInsightResultsResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetInsightResultsResponse
public static interface GetInsightResultsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetInsightResultsResponse.Builder,GetInsightResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninsightResults
(Consumer<InsightResults.Builder> insightResults) The insight results returned by the operation.insightResults
(InsightResults insightResults) The insight results returned by the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
insightResults
The insight results returned by the operation.
- Parameters:
insightResults
- The insight results returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightResults
default GetInsightResultsResponse.Builder insightResults(Consumer<InsightResults.Builder> insightResults) The insight results returned by the operation.
This is a convenience method that creates an instance of theInsightResults.Builder
avoiding the need to create one manually viaInsightResults.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsightResults(InsightResults)
.- Parameters:
insightResults
- a consumer that will call methods onInsightResults.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-