Interface CfnCaseRule.CaseRuleDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCaseRule.CaseRuleDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnCaseRule
@Stability(Stable)
public static interface CfnCaseRule.CaseRuleDetailsProperty
extends software.amazon.jsii.JsiiSerializable
Represents what rule type should take place, under what conditions.
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 .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;
Object emptyValue;
CaseRuleDetailsProperty caseRuleDetailsProperty = CaseRuleDetailsProperty.builder()
.hidden(HiddenCaseRuleProperty.builder()
.conditions(List.of(BooleanConditionProperty.builder()
.equalTo(BooleanOperandsProperty.builder()
.operandOne(OperandOneProperty.builder()
.fieldId("fieldId")
.build())
.operandTwo(OperandTwoProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.result(false)
.build())
.notEqualTo(BooleanOperandsProperty.builder()
.operandOne(OperandOneProperty.builder()
.fieldId("fieldId")
.build())
.operandTwo(OperandTwoProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.result(false)
.build())
.build()))
.defaultValue(false)
.build())
.required(RequiredCaseRuleProperty.builder()
.conditions(List.of(BooleanConditionProperty.builder()
.equalTo(BooleanOperandsProperty.builder()
.operandOne(OperandOneProperty.builder()
.fieldId("fieldId")
.build())
.operandTwo(OperandTwoProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.result(false)
.build())
.notEqualTo(BooleanOperandsProperty.builder()
.operandOne(OperandOneProperty.builder()
.fieldId("fieldId")
.build())
.operandTwo(OperandTwoProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.result(false)
.build())
.build()))
.defaultValue(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCaseRule.CaseRuleDetailsPropertystatic final classAn implementation forCfnCaseRule.CaseRuleDetailsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHidden
Whether a field is visible, based on values in other fields.Returns union: either
IResolvableorCfnCaseRule.HiddenCaseRuleProperty- See Also:
-
getRequired
Required rule type, used to indicate whether a field is required.Returns union: either
IResolvableorCfnCaseRule.RequiredCaseRuleProperty- See Also:
-
builder
-