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