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 theGetInsightsByAssessment
API returned.insights
(InsightsByAssessment insights) The assessment analytics data that theGetInsightsByAssessment
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 assessment analytics data that the
GetInsightsByAssessment
API returned.- Parameters:
insights
- The assessment analytics data that theGetInsightsByAssessment
API 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 theGetInsightsByAssessment
API returned.InsightsByAssessment.Builder
avoiding the need to create one manually viaInsightsByAssessment.builder()
.When the
Consumer
completes,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:
-