@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HITLayoutParameter extends Object implements Serializable, Cloneable, StructuredPojo
The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.
Constructor and Description |
---|
HITLayoutParameter() |
Modifier and Type | Method and Description |
---|---|
HITLayoutParameter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the parameter in the HITLayout.
|
String |
getValue()
The value substituted for the parameter referenced in the HITLayout.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the parameter in the HITLayout.
|
void |
setValue(String value)
The value substituted for the parameter referenced in the HITLayout.
|
String |
toString()
Returns a string representation of this object.
|
HITLayoutParameter |
withName(String name)
The name of the parameter in the HITLayout.
|
HITLayoutParameter |
withValue(String value)
The value substituted for the parameter referenced in the HITLayout.
|
public void setName(String name)
The name of the parameter in the HITLayout.
name
- The name of the parameter in the HITLayout.public String getName()
The name of the parameter in the HITLayout.
public HITLayoutParameter withName(String name)
The name of the parameter in the HITLayout.
name
- The name of the parameter in the HITLayout.public void setValue(String value)
The value substituted for the parameter referenced in the HITLayout.
value
- The value substituted for the parameter referenced in the HITLayout.public String getValue()
The value substituted for the parameter referenced in the HITLayout.
public HITLayoutParameter withValue(String value)
The value substituted for the parameter referenced in the HITLayout.
value
- The value substituted for the parameter referenced in the HITLayout.public String toString()
toString
in class Object
Object.toString()
public HITLayoutParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.