@Generated(value="software.amazon.awssdk:codegen") public final class QualificationRequest extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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() |
String |
workerId()
The ID of the Worker requesting the Qualification.
|
copy
public String qualificationRequestId()
The ID of the Qualification request, a unique identifier generated when the request was submitted.
public String qualificationTypeId()
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
public String workerId()
The ID of the Worker requesting the Qualification.
public 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 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 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.