Interface CreateAssessmentResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAssessmentResponse.Builder,
,CreateAssessmentResponse> SdkBuilder<CreateAssessmentResponse.Builder,
,CreateAssessmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAssessmentResponse
public static interface CreateAssessmentResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<CreateAssessmentResponse.Builder,CreateAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAssessmentResponse.Builder
assessment
(Consumer<Assessment.Builder> assessment) Sets the value of the Assessment property for this object.assessment
(Assessment assessment) Sets the value of the Assessment property for this object.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
-
assessment
Sets the value of the Assessment property for this object.- Parameters:
assessment
- The new value for the Assessment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessment
Sets the value of the Assessment property for this object. This is a convenience method that creates an instance of theAssessment.Builder
avoiding the need to create one manually viaAssessment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassessment(Assessment)
.- Parameters:
assessment
- a consumer that will call methods onAssessment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-