@Generated(value="software.amazon.awssdk:codegen") public final class SingleSelectQuestionRuleCategoryAutomation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,SingleSelectQuestionRuleCategoryAutomation>
Information about the automation option based on a rule category for a single select question.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SingleSelectQuestionRuleCategoryAutomation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SingleSelectQuestionRuleCategoryAutomation.Builder |
builder() |
String |
category()
The category name, as defined in Rules.
|
SingleSelectQuestionRuleCategoryAutomationCondition |
condition()
The condition to apply for the automation option.
|
String |
conditionAsString()
The condition to apply for the automation option.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
optionRefId()
The identifier of the answer option tha
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SingleSelectQuestionRuleCategoryAutomation.Builder> |
serializableBuilderClass() |
SingleSelectQuestionRuleCategoryAutomation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String category()
The category name, as defined in Rules.
public final 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.
If the service returns an enum value that is not available in the current SDK version, condition will
return SingleSelectQuestionRuleCategoryAutomationCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from conditionAsString().
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 final String conditionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, condition will
return SingleSelectQuestionRuleCategoryAutomationCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from conditionAsString().
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 final String optionRefId()
The identifier of the answer option tha
public SingleSelectQuestionRuleCategoryAutomation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,SingleSelectQuestionRuleCategoryAutomation>public static SingleSelectQuestionRuleCategoryAutomation.Builder builder()
public static Class<? extends SingleSelectQuestionRuleCategoryAutomation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.