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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetInsightResultsResponse.BuilderinsightResults(Consumer<InsightResults.Builder> insightResults)The insight results returned by the operation.GetInsightResultsResponse.BuilderinsightResults(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 Detail
-
insightResults
GetInsightResultsResponse.Builder insightResults(InsightResults 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.Builderavoiding the need to create one manually viaInsightResults.builder().When the
Consumercompletes,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:
insightResults(InsightResults)
-
-