Interface CreateAssessmentReportResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateAssessmentReportResponse.Builder,,CreateAssessmentReportResponse> SdkBuilder<CreateAssessmentReportResponse.Builder,,CreateAssessmentReportResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAssessmentReportResponse
public static interface CreateAssessmentReportResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateAssessmentReportResponse.Builder,CreateAssessmentReportResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentReport(Consumer<AssessmentReport.Builder> assessmentReport) The new assessment report that theCreateAssessmentReportAPI returned.assessmentReport(AssessmentReport assessmentReport) The new assessment report that theCreateAssessmentReportAPI 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
-
assessmentReport
The new assessment report that the
CreateAssessmentReportAPI returned.- Parameters:
assessmentReport- The new assessment report that theCreateAssessmentReportAPI returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReport
default CreateAssessmentReportResponse.Builder assessmentReport(Consumer<AssessmentReport.Builder> assessmentReport) The new assessment report that the
This is a convenience method that creates an instance of theCreateAssessmentReportAPI returned.AssessmentReport.Builderavoiding the need to create one manually viaAssessmentReport.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassessmentReport(AssessmentReport).- Parameters:
assessmentReport- a consumer that will call methods onAssessmentReport.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-