@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReviewResultDetail extends Object implements Serializable, Cloneable, StructuredPojo
This data structure is returned multiple times for each result specified in the Review Policy.
Constructor and Description |
---|
ReviewResultDetail() |
Modifier and Type | Method and Description |
---|---|
ReviewResultDetail |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
A unique identifier of the Review action result.
|
String |
getKey()
Key identifies the particular piece of reviewed information.
|
String |
getQuestionId()
Specifies the QuestionId the result is describing.
|
String |
getSubjectId()
The HITID or AssignmentId about which this result was taken.
|
String |
getSubjectType()
The type of the object from the SubjectId field.
|
String |
getValue()
The values of Key provided by the review policies you have selected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
A unique identifier of the Review action result.
|
void |
setKey(String key)
Key identifies the particular piece of reviewed information.
|
void |
setQuestionId(String questionId)
Specifies the QuestionId the result is describing.
|
void |
setSubjectId(String subjectId)
The HITID or AssignmentId about which this result was taken.
|
void |
setSubjectType(String subjectType)
The type of the object from the SubjectId field.
|
void |
setValue(String value)
The values of Key provided by the review policies you have selected.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReviewResultDetail |
withActionId(String actionId)
A unique identifier of the Review action result.
|
ReviewResultDetail |
withKey(String key)
Key identifies the particular piece of reviewed information.
|
ReviewResultDetail |
withQuestionId(String questionId)
Specifies the QuestionId the result is describing.
|
ReviewResultDetail |
withSubjectId(String subjectId)
The HITID or AssignmentId about which this result was taken.
|
ReviewResultDetail |
withSubjectType(String subjectType)
The type of the object from the SubjectId field.
|
ReviewResultDetail |
withValue(String value)
The values of Key provided by the review policies you have selected.
|
public void setActionId(String actionId)
A unique identifier of the Review action result.
actionId
- A unique identifier of the Review action result.public String getActionId()
A unique identifier of the Review action result.
public ReviewResultDetail withActionId(String actionId)
A unique identifier of the Review action result.
actionId
- A unique identifier of the Review action result.public void setSubjectId(String subjectId)
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
subjectId
- The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will
often emit results about both the HIT itself and its Assignments, while Assignment-level review policies
generally only emit results about the Assignment itself.public String getSubjectId()
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
public ReviewResultDetail withSubjectId(String subjectId)
The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will often emit results about both the HIT itself and its Assignments, while Assignment-level review policies generally only emit results about the Assignment itself.
subjectId
- The HITID or AssignmentId about which this result was taken. Note that HIT-level Review Policies will
often emit results about both the HIT itself and its Assignments, while Assignment-level review policies
generally only emit results about the Assignment itself.public void setSubjectType(String subjectType)
The type of the object from the SubjectId field.
subjectType
- The type of the object from the SubjectId field.public String getSubjectType()
The type of the object from the SubjectId field.
public ReviewResultDetail withSubjectType(String subjectType)
The type of the object from the SubjectId field.
subjectType
- The type of the object from the SubjectId field.public void setQuestionId(String questionId)
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
questionId
- Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or
Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then
the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment
and QuestionId is absent, then the result describes the Worker's performance on the HIT.public String getQuestionId()
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
public ReviewResultDetail withQuestionId(String questionId)
Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment and QuestionId is absent, then the result describes the Worker's performance on the HIT.
questionId
- Specifies the QuestionId the result is describing. Depending on whether the TargetType is a HIT or
Assignment this results could specify multiple values. If TargetType is HIT and QuestionId is absent, then
the result describes results of the HIT, including the HIT agreement score. If ObjectType is Assignment
and QuestionId is absent, then the result describes the Worker's performance on the HIT.public void setKey(String key)
Key identifies the particular piece of reviewed information.
key
- Key identifies the particular piece of reviewed information.public String getKey()
Key identifies the particular piece of reviewed information.
public ReviewResultDetail withKey(String key)
Key identifies the particular piece of reviewed information.
key
- Key identifies the particular piece of reviewed information.public void setValue(String value)
The values of Key provided by the review policies you have selected.
value
- The values of Key provided by the review policies you have selected.public String getValue()
The values of Key provided by the review policies you have selected.
public ReviewResultDetail withValue(String value)
The values of Key provided by the review policies you have selected.
value
- The values of Key provided by the review policies you have selected.public String toString()
toString
in class Object
Object.toString()
public ReviewResultDetail 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.