Interface UpdateAssessmentStatusResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAssessmentStatusResponse.Builder,,UpdateAssessmentStatusResponse> SdkBuilder<UpdateAssessmentStatusResponse.Builder,,UpdateAssessmentStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAssessmentStatusResponse
@Mutable
@NotThreadSafe
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 theUpdateAssessmentStatusAPI returned.assessment(Assessment assessment) The name of the updated assessment that theUpdateAssessmentStatusAPI 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assessment
The name of the updated assessment that the
UpdateAssessmentStatusAPI returned.- Parameters:
assessment- The name of the updated assessment that theUpdateAssessmentStatusAPI 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 theUpdateAssessmentStatusAPI returned.Assessment.Builderavoiding the need to create one manually viaAssessment.builder().When the
Consumercompletes,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:
-