Class: Aws::PinpointSMSVoiceV2::Types::ConditionalRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::PinpointSMSVoiceV2::Types::ConditionalRule
- Defined in:
- gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb
Overview
A single conditional rule that resolves to a field behavior when all of its conditions evaluate to true. Conditions within a rule are combined with logical AND: all conditions must match for the rule to fire.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#conditional_validation ⇒ Types::ConditionalValidation
Optional per-rule validation constraints (minimum length, maximum length, regex pattern, allowed select values) that override the field's default validation when this rule matches.
-
#conditions ⇒ Array<Types::FieldCondition>
The conditions that must all evaluate to true for this rule to match.
-
#rule_behavior ⇒ String
The field behavior that applies when all conditions in this rule match.
Instance Attribute Details
#conditional_validation ⇒ Types::ConditionalValidation
Optional per-rule validation constraints (minimum length, maximum length, regex pattern, allowed select values) that override the field's default validation when this rule matches.
399 400 401 402 403 404 405 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 399 class ConditionalRule < Struct.new( :conditions, :rule_behavior, :conditional_validation) SENSITIVE = [] include Aws::Structure end |
#conditions ⇒ Array<Types::FieldCondition>
The conditions that must all evaluate to true for this rule to match. Conditions are combined with logical AND. Use multiple rules with the same RuleBehavior to express logical OR.
399 400 401 402 403 404 405 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 399 class ConditionalRule < Struct.new( :conditions, :rule_behavior, :conditional_validation) SENSITIVE = [] include Aws::Structure end |
#rule_behavior ⇒ String
The field behavior that applies when all conditions in this rule match. Valid values are REQUIRED, OPTIONAL, and DISALLOWED.
399 400 401 402 403 404 405 |
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 399 class ConditionalRule < Struct.new( :conditions, :rule_behavior, :conditional_validation) SENSITIVE = [] include Aws::Structure end |