Interface GetQualificationScoreResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQualificationScoreResponse.Builder,,GetQualificationScoreResponse> MTurkResponse.Builder,SdkBuilder<GetQualificationScoreResponse.Builder,,GetQualificationScoreResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQualificationScoreResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.Builderavoiding the need to create one manually viaQualification.builder().When the
Consumercompletes,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:
-