CopyableBuilder<Assignment.Builder,Assignment>
, SdkBuilder<Assignment.Builder,Assignment>
public static interface Assignment.Builder extends CopyableBuilder<Assignment.Builder,Assignment>
Modifier and Type | Method | Description |
---|---|---|
Assignment.Builder |
acceptTime(Date acceptTime) |
The date and time the Worker accepted the assignment.
|
Assignment.Builder |
answer(String answer) |
The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker
provides an answer.
|
Assignment.Builder |
approvalTime(Date approvalTime) |
If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and
time the Requester approved the results.
|
Assignment.Builder |
assignmentId(String assignmentId) |
A unique identifier for the assignment.
|
Assignment.Builder |
assignmentStatus(String assignmentStatus) |
The status of the assignment.
|
Assignment.Builder |
assignmentStatus(AssignmentStatus assignmentStatus) |
The status of the assignment.
|
Assignment.Builder |
autoApprovalTime(Date autoApprovalTime) |
If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results
are considered Approved automatically if they have not already been explicitly approved or rejected by the
Requester.
|
Assignment.Builder |
deadline(Date deadline) |
The date and time of the deadline for the assignment.
|
Assignment.Builder |
hitId(String hitId) |
The ID of the HIT.
|
Assignment.Builder |
rejectionTime(Date rejectionTime) |
If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and
time the Requester rejected the results.
|
Assignment.Builder |
requesterFeedback(String requesterFeedback) |
The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment
operation, if the Requester approved or rejected the assignment and specified feedback.
|
Assignment.Builder |
submitTime(Date submitTime) |
If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted.
|
Assignment.Builder |
workerId(String workerId) |
The ID of the Worker who accepted the HIT.
|
copy
apply, build
Assignment.Builder assignmentId(String assignmentId)
A unique identifier for the assignment.
assignmentId
- A unique identifier for the assignment.Assignment.Builder workerId(String workerId)
The ID of the Worker who accepted the HIT.
workerId
- The ID of the Worker who accepted the HIT.Assignment.Builder hitId(String hitId)
The ID of the HIT.
hitId
- The ID of the HIT.Assignment.Builder assignmentStatus(String assignmentStatus)
The status of the assignment.
assignmentStatus
- The status of the assignment.AssignmentStatus
Assignment.Builder assignmentStatus(AssignmentStatus assignmentStatus)
The status of the assignment.
assignmentStatus
- The status of the assignment.AssignmentStatus
Assignment.Builder autoApprovalTime(Date autoApprovalTime)
If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.
autoApprovalTime
- If results have been submitted, AutoApprovalTime is the date and time the results of the assignment
results are considered Approved automatically if they have not already been explicitly approved or
rejected by the Requester. This value is derived from the auto-approval delay specified by the
Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted
results.Assignment.Builder acceptTime(Date acceptTime)
The date and time the Worker accepted the assignment.
acceptTime
- The date and time the Worker accepted the assignment.Assignment.Builder submitTime(Date submitTime)
If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.
submitTime
- If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted.
This value is omitted from the assignment if the Worker has not yet submitted results.Assignment.Builder approvalTime(Date approvalTime)
If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.
approvalTime
- If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the
date and time the Requester approved the results. This value is omitted from the assignment if the
Requester has not yet approved the results.Assignment.Builder rejectionTime(Date rejectionTime)
If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.
rejectionTime
- If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the
date and time the Requester rejected the results.Assignment.Builder deadline(Date deadline)
The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.
deadline
- The date and time of the deadline for the assignment. This value is derived from the deadline
specification for the HIT and the date and time the Worker accepted the HIT.Assignment.Builder answer(String answer)
The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.
answer
- The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker
provides an answer. If the Worker does not provide any answers, Answer may contain a
QuestionFormAnswers document, or Answer may be empty.Assignment.Builder requesterFeedback(String requesterFeedback)
The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.
requesterFeedback
- The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment
operation, if the Requester approved or rejected the assignment and specified feedback.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.