Interface Assignment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Assignment.Builder,
,Assignment> SdkBuilder<Assignment.Builder,
,Assignment> SdkPojo
- Enclosing class:
Assignment
-
Method Summary
Modifier and TypeMethodDescriptionacceptTime
(Instant acceptTime) The date and time the Worker accepted the assignment.The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer.approvalTime
(Instant 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.assignmentId
(String assignmentId) A unique identifier for the assignment.assignmentStatus
(String assignmentStatus) The status of the assignment.assignmentStatus
(AssignmentStatus assignmentStatus) The status of the assignment.autoApprovalTime
(Instant 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.The date and time of the deadline for the assignment.The ID of the HIT.rejectionTime
(Instant 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.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.submitTime
(Instant submitTime) If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted.The ID of the Worker who accepted the HIT.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assignmentId
A unique identifier for the assignment.
- Parameters:
assignmentId
- A unique identifier for the assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerId
The ID of the Worker who accepted the HIT.
- Parameters:
workerId
- The ID of the Worker who accepted the HIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hitId
The ID of the HIT.
- Parameters:
hitId
- The ID of the HIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatus
The status of the assignment.
- Parameters:
assignmentStatus
- The status of the assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assignmentStatus
The status of the assignment.
- Parameters:
assignmentStatus
- The status of the assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptTime
The date and time the Worker accepted the assignment.
- Parameters:
acceptTime
- The date and time the Worker accepted the assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-