@Generated(value="software.amazon.awssdk:codegen") public final class AssociateQualificationWithWorkerRequest extends MTurkRequest implements ToCopyableBuilder<AssociateQualificationWithWorkerRequest.Builder,AssociateQualificationWithWorkerRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AssociateQualificationWithWorkerRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static AssociateQualificationWithWorkerRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
integerValue()
The value of the Qualification to assign.
|
String |
qualificationTypeId()
The ID of the Qualification type to use for the assigned Qualification.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
sendNotification()
Specifies whether to send a notification email message to the Worker saying that the qualification was assigned
to the Worker.
|
static Class<? extends AssociateQualificationWithWorkerRequest.Builder> |
serializableBuilderClass() |
AssociateQualificationWithWorkerRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
workerId()
The ID of the Worker to whom the Qualification is being assigned.
|
overrideConfiguration
copy
public String qualificationTypeId()
The ID of the Qualification type to use for the assigned Qualification.
public String workerId()
The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
public Integer integerValue()
The value of the Qualification to assign.
public Boolean sendNotification()
Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.
public AssociateQualificationWithWorkerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssociateQualificationWithWorkerRequest.Builder,AssociateQualificationWithWorkerRequest>
toBuilder
in class MTurkRequest
public static AssociateQualificationWithWorkerRequest.Builder builder()
public static Class<? extends AssociateQualificationWithWorkerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.