@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QualificationRequest extends Object implements Serializable, Cloneable, StructuredPojo
The QualificationRequest data structure represents a request a Worker has made for a Qualification.
Constructor and Description |
---|
QualificationRequest() |
Modifier and Type | Method and Description |
---|---|
QualificationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAnswer()
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.
|
String |
getQualificationRequestId()
The ID of the Qualification request, a unique identifier generated when the request was submitted.
|
String |
getQualificationTypeId()
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
|
Date |
getSubmitTime()
The date and time the Qualification request had a status of Submitted.
|
String |
getTest()
The contents of the Qualification test that was presented to the Worker, if the type has a test and the Worker
has submitted answers.
|
String |
getWorkerId()
The ID of the Worker requesting the Qualification.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnswer(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.
|
void |
setQualificationRequestId(String qualificationRequestId)
The ID of the Qualification request, a unique identifier generated when the request was submitted.
|
void |
setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
|
void |
setSubmitTime(Date submitTime)
The date and time the Qualification request had a status of Submitted.
|
void |
setTest(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.
|
void |
setWorkerId(String workerId)
The ID of the Worker requesting the Qualification.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
QualificationRequest |
withAnswer(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.
|
QualificationRequest |
withQualificationRequestId(String qualificationRequestId)
The ID of the Qualification request, a unique identifier generated when the request was submitted.
|
QualificationRequest |
withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
|
QualificationRequest |
withSubmitTime(Date submitTime)
The date and time the Qualification request had a status of Submitted.
|
QualificationRequest |
withTest(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 |
withWorkerId(String workerId)
The ID of the Worker requesting the Qualification.
|
public void setQualificationRequestId(String qualificationRequestId)
The ID of the Qualification request, a unique identifier generated when the request was submitted.
qualificationRequestId
- The ID of the Qualification request, a unique identifier generated when the request was submitted.public String getQualificationRequestId()
The ID of the Qualification request, a unique identifier generated when the request was submitted.
public QualificationRequest withQualificationRequestId(String qualificationRequestId)
The ID of the Qualification request, a unique identifier generated when the request was submitted.
qualificationRequestId
- The ID of the Qualification request, a unique identifier generated when the request was submitted.public void setQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
qualificationTypeId
- The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType
operation.public String getQualificationTypeId()
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
public QualificationRequest withQualificationTypeId(String qualificationTypeId)
The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType operation.
qualificationTypeId
- The ID of the Qualification type the Worker is requesting, as returned by the CreateQualificationType
operation.public void setWorkerId(String workerId)
The ID of the Worker requesting the Qualification.
workerId
- The ID of the Worker requesting the Qualification.public String getWorkerId()
The ID of the Worker requesting the Qualification.
public QualificationRequest withWorkerId(String workerId)
The ID of the Worker requesting the Qualification.
workerId
- The ID of the Worker requesting the Qualification.public void setTest(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.
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 getTest()
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 QualificationRequest withTest(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.
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 void setAnswer(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.
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 String getAnswer()
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 QualificationRequest withAnswer(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.
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 void setSubmitTime(Date 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.
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 Date getSubmitTime()
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 withSubmitTime(Date 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.
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 String toString()
toString
in class Object
Object.toString()
public QualificationRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.