Class: Aws::MailManager::Types::RuleCondition
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::RuleCondition
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
RuleCondition is a union - when making an API calls you must set exactly one of the members.
RuleCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleCondition corresponding to the set member.
The conditional expression used to evaluate an email for determining if a rule action should be taken.
Direct Known Subclasses
BooleanExpression, DmarcExpression, IpExpression, NumberExpression, StringExpression, Unknown, VerdictExpression
Defined Under Namespace
Classes: BooleanExpression, DmarcExpression, IpExpression, NumberExpression, StringExpression, Unknown, VerdictExpression
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#boolean_expression ⇒ Types::RuleBooleanExpression
The condition applies to a boolean expression passed in this field.
-
#dmarc_expression ⇒ Types::RuleDmarcExpression
The condition applies to a DMARC policy expression passed in this field.
-
#ip_expression ⇒ Types::RuleIpExpression
The condition applies to an IP address expression passed in this field.
-
#number_expression ⇒ Types::RuleNumberExpression
The condition applies to a number expression passed in this field.
-
#string_expression ⇒ Types::RuleStringExpression
The condition applies to a string expression passed in this field.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
-
#verdict_expression ⇒ Types::RuleVerdictExpression
The condition applies to a verdict expression passed in this field.
Instance Attribute Details
#boolean_expression ⇒ Types::RuleBooleanExpression
The condition applies to a boolean expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |
#dmarc_expression ⇒ Types::RuleDmarcExpression
The condition applies to a DMARC policy expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |
#ip_expression ⇒ Types::RuleIpExpression
The condition applies to an IP address expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |
#number_expression ⇒ Types::RuleNumberExpression
The condition applies to a number expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |
#string_expression ⇒ Types::RuleStringExpression
The condition applies to a string expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
2912 2913 2914 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 def unknown @unknown end |
#verdict_expression ⇒ Types::RuleVerdictExpression
The condition applies to a verdict expression passed in this field.
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2912 class RuleCondition < Struct.new( :boolean_expression, :dmarc_expression, :ip_expression, :number_expression, :string_expression, :verdict_expression, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BooleanExpression < RuleCondition; end class DmarcExpression < RuleCondition; end class IpExpression < RuleCondition; end class NumberExpression < RuleCondition; end class StringExpression < RuleCondition; end class VerdictExpression < RuleCondition; end class Unknown < RuleCondition; end end |