public static interface GetAssessmentResponse.Builder extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetAssessmentResponse.Builder,GetAssessmentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetAssessmentResponse.Builder |
assessment(Assessment assessment)
Sets the value of the Assessment property for this object.
|
default GetAssessmentResponse.Builder |
assessment(Consumer<Assessment.Builder> assessment)
Sets the value of the Assessment property for this object.
|
default GetAssessmentResponse.Builder |
userRole(Consumer<Role.Builder> userRole)
Sets the value of the UserRole property for this object.
|
GetAssessmentResponse.Builder |
userRole(Role userRole)
Sets the value of the UserRole property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetAssessmentResponse.Builder assessment(Assessment assessment)
assessment - The new value for the Assessment property for this object.default GetAssessmentResponse.Builder assessment(Consumer<Assessment.Builder> assessment)
Assessment.Builder avoiding the need to
create one manually via Assessment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to assessment(Assessment).
assessment - a consumer that will call methods on Assessment.Builderassessment(Assessment)GetAssessmentResponse.Builder userRole(Role userRole)
userRole - The new value for the UserRole property for this object.default GetAssessmentResponse.Builder userRole(Consumer<Role.Builder> userRole)
Role.Builder avoiding the need to create
one manually via Role.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to userRole(Role).
userRole - a consumer that will call methods on Role.BuilderuserRole(Role)Copyright © 2023. All rights reserved.