Interface GetInsightsResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetInsightsResponse.Builder,
,GetInsightsResponse> SdkBuilder<GetInsightsResponse.Builder,
,GetInsightsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetInsightsResponse
public static interface GetInsightsResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetInsightsResponse.Builder,GetInsightsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetInsightsResponse.Builder
insights
(Consumer<Insights.Builder> insights) The analytics data that theGetInsights
API returned.The analytics data that theGetInsights
API returned.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
insights
The analytics data that the
GetInsights
API returned.- Parameters:
insights
- The analytics data that theGetInsights
API returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
The analytics data that the
This is a convenience method that creates an instance of theGetInsights
API returned.Insights.Builder
avoiding the need to create one manually viaInsights.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsights(Insights)
.- Parameters:
insights
- a consumer that will call methods onInsights.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-