Interface UpdateAssessmentResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateAssessmentResponse.Builder,
,UpdateAssessmentResponse> SdkBuilder<UpdateAssessmentResponse.Builder,
,UpdateAssessmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateAssessmentResponse
public static interface UpdateAssessmentResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssessmentResponse.Builder,UpdateAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateAssessmentResponse.Builder
assessment
(Consumer<Assessment.Builder> assessment) The response object for theUpdateAssessment
API.assessment
(Assessment assessment) The response object for theUpdateAssessment
API.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
The response object for the
UpdateAssessment
API. This is the name of the updated assessment.- Parameters:
assessment
- The response object for theUpdateAssessment
API. This is the name of the updated assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessment
The response object for the
This is a convenience method that creates an instance of theUpdateAssessment
API. This is the name of the updated assessment.Assessment.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:
-