Interface CfnCaseRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCaseRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-09T10:20:13.548Z")
@Stability(Stable)
public interface CfnCaseRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCaseRule.
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;
CfnCaseRuleProps cfnCaseRuleProps = CfnCaseRuleProps.builder()
.name("name")
.rule(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())
// the properties below are optional
.description("description")
.domainId("domainId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCaseRulePropsstatic final classAn implementation forCfnCaseRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCaseRuleProps.Builderbuilder()default StringDescription of a case rule.default StringUnique identifier of a Cases domain.getName()Name of the case rule.getRule()Represents what rule type should take place, under what conditions.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
Name of the case rule.- See Also:
-
getRule
Represents what rule type should take place, under what conditions.Returns union: either
IResolvableorCfnCaseRule.CaseRuleDetailsProperty- See Also:
-
getDescription
Description of a case rule.- See Also:
-
getDomainId
Unique identifier of a Cases domain.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnCaseRuleProps.BuilderofCfnCaseRuleProps
-