Interface GetQualificationScoreResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetQualificationScoreResponse.Builder,
,GetQualificationScoreResponse> MTurkResponse.Builder
,SdkBuilder<GetQualificationScoreResponse.Builder,
,GetQualificationScoreResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetQualificationScoreResponse
@Mutable
@NotThreadSafe
public static interface GetQualificationScoreResponse.Builder
extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<GetQualificationScoreResponse.Builder,GetQualificationScoreResponse>
-
Method Summary
Modifier and TypeMethodDescriptionqualification
(Consumer<Qualification.Builder> qualification) The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).qualification
(Qualification qualification) The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
qualification
The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).
- Parameters:
qualification
- The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualification
default GetQualificationScoreResponse.Builder qualification(Consumer<Qualification.Builder> qualification) The Qualification data structure of the Qualification assigned to a user, including the Qualification type and the value (score).
This is a convenience method that creates an instance of theQualification.Builder
avoiding the need to create one manually viaQualification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqualification(Qualification)
.- Parameters:
qualification
- a consumer that will call methods onQualification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-