Interface GetInsightsByAssessmentResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetInsightsByAssessmentResponse.Builder,,GetInsightsByAssessmentResponse> SdkBuilder<GetInsightsByAssessmentResponse.Builder,,GetInsightsByAssessmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInsightsByAssessmentResponse
public static interface GetInsightsByAssessmentResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetInsightsByAssessmentResponse.Builder,GetInsightsByAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninsights(Consumer<InsightsByAssessment.Builder> insights) The assessment analytics data that theGetInsightsByAssessmentAPI returned.insights(InsightsByAssessment insights) The assessment analytics data that theGetInsightsByAssessmentAPI 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
insights
The assessment analytics data that the
GetInsightsByAssessmentAPI returned.- Parameters:
insights- The assessment analytics data that theGetInsightsByAssessmentAPI returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
default GetInsightsByAssessmentResponse.Builder insights(Consumer<InsightsByAssessment.Builder> insights) The assessment analytics data that the
This is a convenience method that creates an instance of theGetInsightsByAssessmentAPI returned.InsightsByAssessment.Builderavoiding the need to create one manually viaInsightsByAssessment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsights(InsightsByAssessment).- Parameters:
insights- a consumer that will call methods onInsightsByAssessment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-