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.Builderassessment(Consumer<Assessment.Builder> assessment) The response object for theUpdateAssessmentAPI.assessment(Assessment assessment) The response object for theUpdateAssessmentAPI.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
-
assessment
The response object for the
UpdateAssessmentAPI. This is the name of the updated assessment.- Parameters:
assessment- The response object for theUpdateAssessmentAPI. 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 theUpdateAssessmentAPI. This is the name of the updated assessment.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:
-