Class AssociateQualificationWithWorkerRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mturk.model.MTurkRequest
-
- software.amazon.awssdk.services.mturk.model.AssociateQualificationWithWorkerRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateQualificationWithWorkerRequest.Builder,AssociateQualificationWithWorkerRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateQualificationWithWorkerRequest extends MTurkRequest implements ToCopyableBuilder<AssociateQualificationWithWorkerRequest.Builder,AssociateQualificationWithWorkerRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateQualificationWithWorkerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateQualificationWithWorkerRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerintegerValue()The value of the Qualification to assign.StringqualificationTypeId()The ID of the Qualification type to use for the assigned Qualification.List<SdkField<?>>sdkFields()BooleansendNotification()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkerId()The ID of the Worker to whom the Qualification is being assigned.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
qualificationTypeId
public final String qualificationTypeId()
The ID of the Qualification type to use for the assigned Qualification.
- Returns:
- The ID of the Qualification type to use for the assigned Qualification.
-
workerId
public final 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.
- Returns:
- The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.
-
integerValue
public final Integer integerValue()
The value of the Qualification to assign.
- Returns:
- The value of the Qualification to assign.
-
sendNotification
public final 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.
- Returns:
- 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.
-
toBuilder
public AssociateQualificationWithWorkerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateQualificationWithWorkerRequest.Builder,AssociateQualificationWithWorkerRequest>- Specified by:
toBuilderin classMTurkRequest
-
builder
public static AssociateQualificationWithWorkerRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateQualificationWithWorkerRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-