@Generated(value="software.amazon.awssdk:codegen") public class ParameterMapEntry extends Object implements StructuredPojo, ToCopyableBuilder<ParameterMapEntry.Builder,ParameterMapEntry>
This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.
Modifier and Type | Class and Description |
---|---|
static interface |
ParameterMapEntry.Builder |
Modifier and Type | Method and Description |
---|---|
static ParameterMapEntry.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ParameterMapEntry.Builder> |
serializableBuilderClass() |
ParameterMapEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<String> |
values()
The list of answers to the question specified in the MapEntry Key element.
|
copy
public 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.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ParameterMapEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ParameterMapEntry.Builder,ParameterMapEntry>
public static ParameterMapEntry.Builder builder()
public static Class<? extends ParameterMapEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.