Interface CfnCaseRule.HiddenCaseRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCaseRule.HiddenCaseRuleProperty.Jsii$Proxy
- Enclosing class:
CfnCaseRule
@Stability(Stable)
public static interface CfnCaseRule.HiddenCaseRuleProperty
extends software.amazon.jsii.JsiiSerializable
A rule that controls field visibility based on conditions.
Fields can be shown or hidden dynamically based on values in other fields.
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;
HiddenCaseRuleProperty hiddenCaseRuleProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCaseRule.HiddenCaseRulePropertystatic final classAn implementation forCfnCaseRule.HiddenCaseRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of conditions that determine field visibility.Whether the field is hidden when no conditions match.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConditions
A list of conditions that determine field visibility.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCaseRule.BooleanConditionProperty>- See Also:
-
getDefaultValue
Whether the field is hidden when no conditions match.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-