public static interface GetInsightResultsResponse.Builder extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetInsightResultsResponse.Builder,GetInsightResultsResponse>
Modifier and Type | Method and Description |
---|---|
default GetInsightResultsResponse.Builder |
insightResults(Consumer<InsightResults.Builder> insightResults)
The insight results returned by the operation.
|
GetInsightResultsResponse.Builder |
insightResults(InsightResults insightResults)
The insight results returned by the operation.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetInsightResultsResponse.Builder insightResults(InsightResults insightResults)
The insight results returned by the operation.
insightResults
- The insight results returned by the operation.default GetInsightResultsResponse.Builder insightResults(Consumer<InsightResults.Builder> insightResults)
The insight results returned by the operation.
This is a convenience that creates an instance of theInsightResults.Builder
avoiding the need to
create one manually via InsightResults.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to insightResults(InsightResults)
.insightResults
- a consumer that will call methods on InsightResults.Builder
insightResults(InsightResults)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.