BooleanCondition

sealed class BooleanCondition

Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

Inheritors

Types

Link copied to clipboard
data class AndAll(val value: CompoundCondition) : BooleanCondition

Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.

Link copied to clipboard
data class EqualTo(val value: BooleanOperands) : BooleanCondition

Tests that operandOne is equal to operandTwo.

Link copied to clipboard

Tests that operandOne is not equal to operandTwo.

Link copied to clipboard
data class OrAll(val value: CompoundCondition) : BooleanCondition

Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this BooleanCondition as a AndAll and retrieves its aws.sdk.kotlin.services.connectcases.model.CompoundCondition value. Throws an exception if the BooleanCondition is not a AndAll.

Link copied to clipboard
Link copied to clipboard

Casts this BooleanCondition as a EqualTo and retrieves its aws.sdk.kotlin.services.connectcases.model.BooleanOperands value. Throws an exception if the BooleanCondition is not a EqualTo.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this BooleanCondition as a OrAll and retrieves its aws.sdk.kotlin.services.connectcases.model.CompoundCondition value. Throws an exception if the BooleanCondition is not a OrAll.

Link copied to clipboard