public static interface HIT.Builder extends CopyableBuilder<HIT.Builder,HIT>
Modifier and Type | Method and Description |
---|---|
HIT.Builder |
assignmentDurationInSeconds(Long assignmentDurationInSeconds)
The length of time, in seconds, that a Worker has to complete the HIT after accepting it.
|
HIT.Builder |
autoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are
automatically approved by Amazon Mechanical Turk.
|
HIT.Builder |
creationTime(Instant creationTime)
The date and time the HIT was created.
|
HIT.Builder |
description(String description)
A general description of the HIT.
|
HIT.Builder |
expiration(Instant expiration)
The date and time the HIT expires.
|
HIT.Builder |
hitGroupId(String hitGroupId)
The ID of the HIT Group of this HIT.
|
HIT.Builder |
hitId(String hitId)
A unique identifier for the HIT.
|
HIT.Builder |
hitLayoutId(String hitLayoutId)
The ID of the HIT Layout of this HIT.
|
HIT.Builder |
hitReviewStatus(HITReviewStatus hitReviewStatus)
Indicates the review status of the HIT.
|
HIT.Builder |
hitReviewStatus(String hitReviewStatus)
Indicates the review status of the HIT.
|
HIT.Builder |
hitStatus(HITStatus hitStatus)
The status of the HIT and its assignments.
|
HIT.Builder |
hitStatus(String hitStatus)
The status of the HIT and its assignments.
|
HIT.Builder |
hitTypeId(String hitTypeId)
The ID of the HIT type of this HIT
|
HIT.Builder |
keywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas.
|
HIT.Builder |
maxAssignments(Integer maxAssignments)
The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
|
HIT.Builder |
numberOfAssignmentsAvailable(Integer numberOfAssignmentsAvailable)
The number of assignments for this HIT that are available for Workers to accept.
|
HIT.Builder |
numberOfAssignmentsCompleted(Integer numberOfAssignmentsCompleted)
The number of assignments for this HIT that have been approved or rejected.
|
HIT.Builder |
numberOfAssignmentsPending(Integer numberOfAssignmentsPending)
The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have
not yet been submitted, returned, or abandoned.
|
HIT.Builder |
qualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT.
|
HIT.Builder |
qualificationRequirements(Consumer<QualificationRequirement.Builder>... qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT.
|
HIT.Builder |
qualificationRequirements(QualificationRequirement... qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT.
|
HIT.Builder |
question(String question)
The data the Worker completing the HIT uses produce the results.
|
HIT.Builder |
requesterAnnotation(String requesterAnnotation)
An arbitrary data field the Requester who created the HIT can use.
|
HIT.Builder |
reward(String reward)
Sets the value of the Reward property for this object.
|
HIT.Builder |
title(String title)
The title of the HIT.
|
copy
applyMutation, build
HIT.Builder hitId(String hitId)
A unique identifier for the HIT.
hitId
- A unique identifier for the HIT.HIT.Builder hitTypeId(String hitTypeId)
The ID of the HIT type of this HIT
hitTypeId
- The ID of the HIT type of this HITHIT.Builder hitGroupId(String hitGroupId)
The ID of the HIT Group of this HIT.
hitGroupId
- The ID of the HIT Group of this HIT.HIT.Builder hitLayoutId(String hitLayoutId)
The ID of the HIT Layout of this HIT.
hitLayoutId
- The ID of the HIT Layout of this HIT.HIT.Builder creationTime(Instant creationTime)
The date and time the HIT was created.
creationTime
- The date and time the HIT was created.HIT.Builder title(String title)
The title of the HIT.
title
- The title of the HIT.HIT.Builder description(String description)
A general description of the HIT.
description
- A general description of the HIT.HIT.Builder question(String question)
The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.
question
- The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm,
HTMLQuestion or an ExternalQuestion data structure.HIT.Builder keywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.
keywords
- One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the
keywords of a HIT are more likely to have the HIT in the search results.HIT.Builder hitStatus(String hitStatus)
The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.
HIT.Builder hitStatus(HITStatus hitStatus)
The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.
HIT.Builder maxAssignments(Integer maxAssignments)
The number of times the HIT can be accepted and completed before the HIT becomes unavailable.
maxAssignments
- The number of times the HIT can be accepted and completed before the HIT becomes unavailable.HIT.Builder reward(String reward)
reward
- The new value for the Reward property for this object.HIT.Builder autoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.
autoApprovalDelayInSeconds
- The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results
are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to
reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is
paid.HIT.Builder expiration(Instant expiration)
The date and time the HIT expires.
expiration
- The date and time the HIT expires.HIT.Builder assignmentDurationInSeconds(Long assignmentDurationInSeconds)
The length of time, in seconds, that a Worker has to complete the HIT after accepting it.
assignmentDurationInSeconds
- The length of time, in seconds, that a Worker has to complete the HIT after accepting it.HIT.Builder requesterAnnotation(String requesterAnnotation)
An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.
requesterAnnotation
- An arbitrary data field the Requester who created the HIT can use. This field is visible only to the
creator of the HIT.HIT.Builder qualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met by a Worker's Qualifications for the Worker to accept the HIT.
qualificationRequirements
- A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have
between zero and ten Qualification requirements. All requirements must be met by a Worker's
Qualifications for the Worker to accept the HIT.HIT.Builder qualificationRequirements(QualificationRequirement... qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met by a Worker's Qualifications for the Worker to accept the HIT.
qualificationRequirements
- A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have
between zero and ten Qualification requirements. All requirements must be met by a Worker's
Qualifications for the Worker to accept the HIT.HIT.Builder qualificationRequirements(Consumer<QualificationRequirement.Builder>... qualificationRequirements)
A condition that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met by a Worker's Qualifications for the Worker to accept the HIT.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #qualificationRequirements(List)
.qualificationRequirements
- a consumer that will call methods on List.Builder
#qualificationRequirements(List)
HIT.Builder hitReviewStatus(String hitReviewStatus)
Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
hitReviewStatus
- Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview |
ReviewedAppropriate | ReviewedInappropriate.HITReviewStatus
,
HITReviewStatus
HIT.Builder hitReviewStatus(HITReviewStatus hitReviewStatus)
Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.
hitReviewStatus
- Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview |
ReviewedAppropriate | ReviewedInappropriate.HITReviewStatus
,
HITReviewStatus
HIT.Builder numberOfAssignmentsPending(Integer numberOfAssignmentsPending)
The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.
numberOfAssignmentsPending
- The number of assignments for this HIT that are being previewed or have been accepted by Workers, but
have not yet been submitted, returned, or abandoned.HIT.Builder numberOfAssignmentsAvailable(Integer numberOfAssignmentsAvailable)
The number of assignments for this HIT that are available for Workers to accept.
numberOfAssignmentsAvailable
- The number of assignments for this HIT that are available for Workers to accept.HIT.Builder numberOfAssignmentsCompleted(Integer numberOfAssignmentsCompleted)
The number of assignments for this HIT that have been approved or rejected.
numberOfAssignmentsCompleted
- The number of assignments for this HIT that have been approved or rejected.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.