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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAssessmentResponse.Builderassessment(Consumer<Assessment.Builder> assessment)Sets the value of the Assessment property for this object.GetAssessmentResponse.Builderassessment(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.GetAssessmentResponse.BuilderuserRole(Role userRole)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 Detail
-
assessment
GetAssessmentResponse.Builder assessment(Assessment 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
default GetAssessmentResponse.Builder assessment(Consumer<Assessment.Builder> 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:
assessment(Assessment)
-
userRole
GetAssessmentResponse.Builder userRole(Role 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
default GetAssessmentResponse.Builder userRole(Consumer<Role.Builder> 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:
userRole(Role)
-
-