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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetInsightsResponse.Builderinsights(Consumer<Insights.Builder> insights)The analytics data that theGetInsightsAPI returned.GetInsightsResponse.Builderinsights(Insights insights)The analytics data that theGetInsightsAPI 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 Detail
-
insights
GetInsightsResponse.Builder insights(Insights 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
default GetInsightsResponse.Builder insights(Consumer<Insights.Builder> 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:
insights(Insights)
-
-