@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationFormNumericQuestionProperties extends Object implements Serializable, Cloneable, StructuredPojo
Information about properties for a numeric question in an evaluation form.
Constructor and Description |
---|
EvaluationFormNumericQuestionProperties() |
Modifier and Type | Method and Description |
---|---|
EvaluationFormNumericQuestionProperties |
clone() |
boolean |
equals(Object obj) |
EvaluationFormNumericQuestionAutomation |
getAutomation()
The automation properties of the numeric question.
|
Integer |
getMaxValue()
The maximum answer value.
|
Integer |
getMinValue()
The minimum answer value.
|
List<EvaluationFormNumericQuestionOption> |
getOptions()
The scoring options of the numeric question.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutomation(EvaluationFormNumericQuestionAutomation automation)
The automation properties of the numeric question.
|
void |
setMaxValue(Integer maxValue)
The maximum answer value.
|
void |
setMinValue(Integer minValue)
The minimum answer value.
|
void |
setOptions(Collection<EvaluationFormNumericQuestionOption> options)
The scoring options of the numeric question.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationFormNumericQuestionProperties |
withAutomation(EvaluationFormNumericQuestionAutomation automation)
The automation properties of the numeric question.
|
EvaluationFormNumericQuestionProperties |
withMaxValue(Integer maxValue)
The maximum answer value.
|
EvaluationFormNumericQuestionProperties |
withMinValue(Integer minValue)
The minimum answer value.
|
EvaluationFormNumericQuestionProperties |
withOptions(Collection<EvaluationFormNumericQuestionOption> options)
The scoring options of the numeric question.
|
EvaluationFormNumericQuestionProperties |
withOptions(EvaluationFormNumericQuestionOption... options)
The scoring options of the numeric question.
|
public EvaluationFormNumericQuestionProperties()
public void setMinValue(Integer minValue)
The minimum answer value.
minValue
- The minimum answer value.public Integer getMinValue()
The minimum answer value.
public EvaluationFormNumericQuestionProperties withMinValue(Integer minValue)
The minimum answer value.
minValue
- The minimum answer value.public void setMaxValue(Integer maxValue)
The maximum answer value.
maxValue
- The maximum answer value.public Integer getMaxValue()
The maximum answer value.
public EvaluationFormNumericQuestionProperties withMaxValue(Integer maxValue)
The maximum answer value.
maxValue
- The maximum answer value.public List<EvaluationFormNumericQuestionOption> getOptions()
The scoring options of the numeric question.
public void setOptions(Collection<EvaluationFormNumericQuestionOption> options)
The scoring options of the numeric question.
options
- The scoring options of the numeric question.public EvaluationFormNumericQuestionProperties withOptions(EvaluationFormNumericQuestionOption... options)
The scoring options of the numeric question.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection)
or withOptions(java.util.Collection)
if you want to override
the existing values.
options
- The scoring options of the numeric question.public EvaluationFormNumericQuestionProperties withOptions(Collection<EvaluationFormNumericQuestionOption> options)
The scoring options of the numeric question.
options
- The scoring options of the numeric question.public void setAutomation(EvaluationFormNumericQuestionAutomation automation)
The automation properties of the numeric question.
automation
- The automation properties of the numeric question.public EvaluationFormNumericQuestionAutomation getAutomation()
The automation properties of the numeric question.
public EvaluationFormNumericQuestionProperties withAutomation(EvaluationFormNumericQuestionAutomation automation)
The automation properties of the numeric question.
automation
- The automation properties of the numeric question.public String toString()
toString
in class Object
Object.toString()
public EvaluationFormNumericQuestionProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.