Class SingleSelectQuestionRuleCategoryAutomation
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.SingleSelectQuestionRuleCategoryAutomation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,SingleSelectQuestionRuleCategoryAutomation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSingleSelectQuestionRuleCategoryAutomation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SingleSelectQuestionRuleCategoryAutomation.Builderbuilder()Stringcategory()The category name, as defined in Rules.SingleSelectQuestionRuleCategoryAutomationConditioncondition()The condition to apply for the automation option.StringconditionAsString()The condition to apply for the automation option.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoptionRefId()The identifier of the answer option.List<SdkField<?>>sdkFields()static Class<? extends SingleSelectQuestionRuleCategoryAutomation.Builder>serializableBuilderClass()SingleSelectQuestionRuleCategoryAutomation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
category
public final String category()
The category name, as defined in Rules.
- Returns:
- The category name, as defined in Rules.
-
condition
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 isNOT_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,
conditionwill returnSingleSelectQuestionRuleCategoryAutomationCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconditionAsString().- Returns:
- 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 isNOT_PRESENT, then the option is applied when the contact data does not include the category. - See Also:
SingleSelectQuestionRuleCategoryAutomationCondition
-
conditionAsString
public 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 isNOT_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,
conditionwill returnSingleSelectQuestionRuleCategoryAutomationCondition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconditionAsString().- Returns:
- 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 isNOT_PRESENT, then the option is applied when the contact data does not include the category. - See Also:
SingleSelectQuestionRuleCategoryAutomationCondition
-
optionRefId
public final String optionRefId()
The identifier of the answer option.
- Returns:
- The identifier of the answer option.
-
toBuilder
public SingleSelectQuestionRuleCategoryAutomation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,SingleSelectQuestionRuleCategoryAutomation>
-
builder
public static SingleSelectQuestionRuleCategoryAutomation.Builder builder()
-
serializableBuilderClass
public static Class<? extends SingleSelectQuestionRuleCategoryAutomation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-