@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterMapEntry extends Object implements Serializable, Cloneable, StructuredPojo
This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
Constructor and Description |
---|
ParameterMapEntry() |
Modifier and Type | Method and Description |
---|---|
ParameterMapEntry |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of
the ScoreMyKnownAnswers/2011-09-01 Review Policy.
|
List<String> |
getValues()
The list of answers to the question specified in the MapEntry Key element.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of
the ScoreMyKnownAnswers/2011-09-01 Review Policy.
|
void |
setValues(Collection<String> values)
The list of answers to the question specified in the MapEntry Key element.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ParameterMapEntry |
withKey(String key)
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of
the ScoreMyKnownAnswers/2011-09-01 Review Policy.
|
ParameterMapEntry |
withValues(Collection<String> values)
The list of answers to the question specified in the MapEntry Key element.
|
ParameterMapEntry |
withValues(String... values)
The list of answers to the question specified in the MapEntry Key element.
|
public void setKey(String key)
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
key
- The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as
part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.public String getKey()
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
public ParameterMapEntry withKey(String key)
The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
key
- The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as
part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.public List<String> getValues()
The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.
public void setValues(Collection<String> values)
The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.
values
- The list of answers to the question specified in the MapEntry Key element. The Worker must match all
values in order for the answer to be scored correctly.public ParameterMapEntry withValues(String... values)
The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The list of answers to the question specified in the MapEntry Key element. The Worker must match all
values in order for the answer to be scored correctly.public ParameterMapEntry withValues(Collection<String> values)
The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.
values
- The list of answers to the question specified in the MapEntry Key element. The Worker must match all
values in order for the answer to be scored correctly.public String toString()
toString
in class Object
Object.toString()
public ParameterMapEntry 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.