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.Builder
assessment
(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.Builder
userRole
(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, 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
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.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:
-
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.Builder
avoiding the need to create one manually viaRole.builder()
.When the
Consumer
completes,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:
-