Interface GetAssessmentResponse.Builder
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAssessmentResponse.Builder,,GetAssessmentResponse> SdkBuilder<GetAssessmentResponse.Builder,,GetAssessmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAssessmentResponse
public static interface GetAssessmentResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetAssessmentResponse.Builder,GetAssessmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAssessmentResponse.Builderassessment(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.default GetAssessmentResponse.BuilderuserRole(Consumer<Role.Builder> userRole) Sets the value of the UserRole property for this object.Sets the value of the UserRole property for this object.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
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.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:
-
userRole
Sets the value of the UserRole property for this object.- Parameters:
userRole- The new value for the UserRole property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userRole
Sets the value of the UserRole property for this object. This is a convenience method that creates an instance of theRole.Builderavoiding the need to create one manually viaRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserRole(Role).- Parameters:
userRole- a consumer that will call methods onRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-