@Generated(value="software.amazon.awssdk:codegen") public final class QualificationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QualificationRequest.Builder,QualificationRequest>
The QualificationRequest data structure represents a request a Worker has made for a Qualification.
Modifier and Type | Class and Description |
---|---|
static interface |
QualificationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
answer()
The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type
has a test and the Worker has submitted answers.
|
static QualificationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
qualificationRequestId()
The ID of the Qualification request, a unique identifier generated when the request was submitted.
|
String |
qualificationTypeId()
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QualificationRequest.Builder> |
serializableBuilderClass() |
Instant |
submitTime()
The date and time the Qualification request had a status of Submitted.
|
String |
test()
The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker
has submitted answers.
|
QualificationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
workerId()
The ID of the Worker requesting the Qualification.
|
copy
public final String qualificationRequestId()
The ID of the Qualification request, a unique identifier generated when the request was submitted.
public final String qualificationTypeId()
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
public final String workerId()
The ID of the Worker requesting the Qualification.
public final String test()
The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker has submitted answers. This value is identical to the QuestionForm associated with the Qualification type at the time the Worker requests the Qualification.
public final String answer()
The Worker's answers for the Qualification type's test contained in a QuestionFormAnswers document, if the type has a test and the Worker has submitted answers. If the Worker does not provide any answers, Answer may be empty.
public final Instant submitTime()
The date and time the Qualification request had a status of Submitted. This is either the time the Worker submitted answers for a Qualification test, or the time the Worker requested the Qualification if the Qualification type does not have a test.
public QualificationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<QualificationRequest.Builder,QualificationRequest>
public static QualificationRequest.Builder builder()
public static Class<? extends QualificationRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()