@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHITTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHITTypeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHITTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getAssignmentDurationInSeconds()
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
|
Long |
getAutoApprovalDelayInSeconds()
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is
considered Approved automatically unless the Requester explicitly rejects it.
|
String |
getDescription()
A general description of the HIT.
|
String |
getKeywords()
One or more words or phrases that describe the HIT, separated by commas.
|
List<QualificationRequirement> |
getQualificationRequirements()
Conditions that a Worker's Qualifications must meet in order to accept the HIT.
|
String |
getReward()
The amount of money the Requester will pay a Worker for successfully completing the HIT.
|
String |
getTitle()
The title of the HIT.
|
int |
hashCode() |
void |
setAssignmentDurationInSeconds(Long assignmentDurationInSeconds)
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
|
void |
setAutoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is
considered Approved automatically unless the Requester explicitly rejects it.
|
void |
setDescription(String description)
A general description of the HIT.
|
void |
setKeywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas.
|
void |
setQualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
Conditions that a Worker's Qualifications must meet in order to accept the HIT.
|
void |
setReward(String reward)
The amount of money the Requester will pay a Worker for successfully completing the HIT.
|
void |
setTitle(String title)
The title of the HIT.
|
String |
toString()
Returns a string representation of this object.
|
CreateHITTypeRequest |
withAssignmentDurationInSeconds(Long assignmentDurationInSeconds)
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it.
|
CreateHITTypeRequest |
withAutoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is
considered Approved automatically unless the Requester explicitly rejects it.
|
CreateHITTypeRequest |
withDescription(String description)
A general description of the HIT.
|
CreateHITTypeRequest |
withKeywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas.
|
CreateHITTypeRequest |
withQualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
Conditions that a Worker's Qualifications must meet in order to accept the HIT.
|
CreateHITTypeRequest |
withQualificationRequirements(QualificationRequirement... qualificationRequirements)
Conditions that a Worker's Qualifications must meet in order to accept the HIT.
|
CreateHITTypeRequest |
withReward(String reward)
The amount of money the Requester will pay a Worker for successfully completing the HIT.
|
CreateHITTypeRequest |
withTitle(String title)
The title of the HIT.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAutoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.
autoApprovalDelayInSeconds
- The number of seconds after an assignment for the HIT has been submitted, after which the assignment is
considered Approved automatically unless the Requester explicitly rejects it.public Long getAutoApprovalDelayInSeconds()
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.
public CreateHITTypeRequest withAutoApprovalDelayInSeconds(Long autoApprovalDelayInSeconds)
The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.
autoApprovalDelayInSeconds
- The number of seconds after an assignment for the HIT has been submitted, after which the assignment is
considered Approved automatically unless the Requester explicitly rejects it.public void setAssignmentDurationInSeconds(Long assignmentDurationInSeconds)
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept.
assignmentDurationInSeconds
- The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does
not complete the assignment within the specified duration, the assignment is considered abandoned. If the
HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other
users to find and accept.public Long getAssignmentDurationInSeconds()
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept.
public CreateHITTypeRequest withAssignmentDurationInSeconds(Long assignmentDurationInSeconds)
The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept.
assignmentDurationInSeconds
- The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does
not complete the assignment within the specified duration, the assignment is considered abandoned. If the
HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other
users to find and accept.public void setReward(String reward)
The amount of money the Requester will pay a Worker for successfully completing the HIT.
reward
- The amount of money the Requester will pay a Worker for successfully completing the HIT.public String getReward()
The amount of money the Requester will pay a Worker for successfully completing the HIT.
public CreateHITTypeRequest withReward(String reward)
The amount of money the Requester will pay a Worker for successfully completing the HIT.
reward
- The amount of money the Requester will pay a Worker for successfully completing the HIT.public void setTitle(String title)
The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned.
title
- The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On
the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is
mentioned.public String getTitle()
The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned.
public CreateHITTypeRequest withTitle(String title)
The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned.
title
- The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On
the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is
mentioned.public void setKeywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs.
keywords
- One or more words or phrases that describe the HIT, separated by commas. These words are used in searches
to find HITs.public String getKeywords()
One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs.
public CreateHITTypeRequest withKeywords(String keywords)
One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs.
keywords
- One or more words or phrases that describe the HIT, separated by commas. These words are used in searches
to find HITs.public void setDescription(String description)
A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it.
description
- A general description of the HIT. A description includes detailed information about the kind of task the
HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of
search results, and in the HIT and assignment screens. A good description gives the user enough
information to evaluate the HIT before accepting it.public String getDescription()
A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it.
public CreateHITTypeRequest withDescription(String description)
A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it.
description
- A general description of the HIT. A description includes detailed information about the kind of task the
HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of
search results, and in the HIT and assignment screens. A good description gives the user enough
information to evaluate the HIT before accepting it.public List<QualificationRequirement> getQualificationRequirements()
Conditions 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 in order for a Worker to accept the HIT.
Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.
ActionsGuarded
field on each
QualificationRequirement
structure.public void setQualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
Conditions 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 in order for a Worker to accept the HIT.
Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.
qualificationRequirements
- Conditions 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 in order for a Worker to accept the
HIT. Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.public CreateHITTypeRequest withQualificationRequirements(QualificationRequirement... qualificationRequirements)
Conditions 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 in order for a Worker to accept the HIT.
Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.
NOTE: This method appends the values to the existing list (if any). Use
setQualificationRequirements(java.util.Collection)
or
withQualificationRequirements(java.util.Collection)
if you want to override the existing values.
qualificationRequirements
- Conditions 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 in order for a Worker to accept the
HIT. Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.public CreateHITTypeRequest withQualificationRequirements(Collection<QualificationRequirement> qualificationRequirements)
Conditions 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 in order for a Worker to accept the HIT.
Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.
qualificationRequirements
- Conditions 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 in order for a Worker to accept the
HIT. Additionally, other actions can be restricted using the ActionsGuarded
field on each
QualificationRequirement
structure.public String toString()
toString
in class Object
Object.toString()
public CreateHITTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()