@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SingleSelectQuestionRuleCategoryAutomation extends Object implements Serializable, Cloneable, StructuredPojo
Information about the automation option based on a rule category for a single select question.
| Constructor and Description |
|---|
SingleSelectQuestionRuleCategoryAutomation() |
| Modifier and Type | Method and Description |
|---|---|
SingleSelectQuestionRuleCategoryAutomation |
clone() |
boolean |
equals(Object obj) |
String |
getCategory()
The category name, as defined in Rules.
|
String |
getCondition()
The condition to apply for the automation option.
|
String |
getOptionRefId()
The identifier of the answer option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCategory(String category)
The category name, as defined in Rules.
|
void |
setCondition(String condition)
The condition to apply for the automation option.
|
void |
setOptionRefId(String optionRefId)
The identifier of the answer option.
|
String |
toString()
Returns a string representation of this object.
|
SingleSelectQuestionRuleCategoryAutomation |
withCategory(String category)
The category name, as defined in Rules.
|
SingleSelectQuestionRuleCategoryAutomation |
withCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option.
|
SingleSelectQuestionRuleCategoryAutomation |
withCondition(String condition)
The condition to apply for the automation option.
|
SingleSelectQuestionRuleCategoryAutomation |
withOptionRefId(String optionRefId)
The identifier of the answer option.
|
public SingleSelectQuestionRuleCategoryAutomation()
public void setCategory(String category)
The category name, as defined in Rules.
category - The category name, as defined in Rules.public String getCategory()
The category name, as defined in Rules.
public SingleSelectQuestionRuleCategoryAutomation withCategory(String category)
The category name, as defined in Rules.
category - The category name, as defined in Rules.public void setCondition(String condition)
The condition to apply for the automation option. If the condition is PRESENT, then the option is
applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT,
then the option is applied when the contact data does not include the category.
condition - The condition to apply for the automation option. If the condition is PRESENT, then the
option is applied when the contact data includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact data does not include the category.SingleSelectQuestionRuleCategoryAutomationConditionpublic String getCondition()
The condition to apply for the automation option. If the condition is PRESENT, then the option is
applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT,
then the option is applied when the contact data does not include the category.
PRESENT, then the
option is applied when the contact data includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact data does not include the category.SingleSelectQuestionRuleCategoryAutomationConditionpublic SingleSelectQuestionRuleCategoryAutomation withCondition(String condition)
The condition to apply for the automation option. If the condition is PRESENT, then the option is
applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT,
then the option is applied when the contact data does not include the category.
condition - The condition to apply for the automation option. If the condition is PRESENT, then the
option is applied when the contact data includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact data does not include the category.SingleSelectQuestionRuleCategoryAutomationConditionpublic SingleSelectQuestionRuleCategoryAutomation withCondition(SingleSelectQuestionRuleCategoryAutomationCondition condition)
The condition to apply for the automation option. If the condition is PRESENT, then the option is
applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT,
then the option is applied when the contact data does not include the category.
condition - The condition to apply for the automation option. If the condition is PRESENT, then the
option is applied when the contact data includes the category. Similarly, if the condition is
NOT_PRESENT, then the option is applied when the contact data does not include the category.SingleSelectQuestionRuleCategoryAutomationConditionpublic void setOptionRefId(String optionRefId)
The identifier of the answer option.
optionRefId - The identifier of the answer option.public String getOptionRefId()
The identifier of the answer option.
public SingleSelectQuestionRuleCategoryAutomation withOptionRefId(String optionRefId)
The identifier of the answer option.
optionRefId - The identifier of the answer option.public String toString()
toString in class ObjectObject.toString()public SingleSelectQuestionRuleCategoryAutomation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.