@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationFormSingleSelectQuestionAutomation extends Object implements Serializable, Cloneable, StructuredPojo
Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
Constructor and Description |
---|
EvaluationFormSingleSelectQuestionAutomation() |
Modifier and Type | Method and Description |
---|---|
EvaluationFormSingleSelectQuestionAutomation |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultOptionRefId()
The identifier of the default answer option, when none of the automation options match the criteria.
|
List<EvaluationFormSingleSelectQuestionAutomationOption> |
getOptions()
The automation options of the single select question.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultOptionRefId(String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
|
void |
setOptions(Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationFormSingleSelectQuestionAutomation |
withDefaultOptionRefId(String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
|
EvaluationFormSingleSelectQuestionAutomation |
withOptions(Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
|
EvaluationFormSingleSelectQuestionAutomation |
withOptions(EvaluationFormSingleSelectQuestionAutomationOption... options)
The automation options of the single select question.
|
public EvaluationFormSingleSelectQuestionAutomation()
public List<EvaluationFormSingleSelectQuestionAutomationOption> getOptions()
The automation options of the single select question.
public void setOptions(Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
options
- The automation options of the single select question.public EvaluationFormSingleSelectQuestionAutomation withOptions(EvaluationFormSingleSelectQuestionAutomationOption... options)
The automation options of the single select 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 automation options of the single select question.public EvaluationFormSingleSelectQuestionAutomation withOptions(Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
options
- The automation options of the single select question.public void setDefaultOptionRefId(String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
defaultOptionRefId
- The identifier of the default answer option, when none of the automation options match the criteria.public String getDefaultOptionRefId()
The identifier of the default answer option, when none of the automation options match the criteria.
public EvaluationFormSingleSelectQuestionAutomation withDefaultOptionRefId(String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
defaultOptionRefId
- The identifier of the default answer option, when none of the automation options match the criteria.public String toString()
toString
in class Object
Object.toString()
public EvaluationFormSingleSelectQuestionAutomation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.