Interface GetInsightsResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetInsightsResponse.Builder,,GetInsightsResponse> SdkBuilder<GetInsightsResponse.Builder,,GetInsightsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInsightsResponse
@Mutable
@NotThreadSafe
public static interface GetInsightsResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetInsightsResponse.Builder,GetInsightsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetInsightsResponse.Builderinsights(Consumer<Insights.Builder> insights) The analytics data that theGetInsightsAPI returned.The analytics data that theGetInsightsAPI returned.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
insights
The analytics data that the
GetInsightsAPI returned.- Parameters:
insights- The analytics data that theGetInsightsAPI 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 theGetInsightsAPI returned.Insights.Builderavoiding the need to create one manually viaInsights.builder().When the
Consumercompletes,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:
-