Class: Aws::MailManager::Types::RuleVerdictToEvaluate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb

Overview

Note:

RuleVerdictToEvaluate is a union - when making an API calls you must set exactly one of the members.

Note:

RuleVerdictToEvaluate is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RuleVerdictToEvaluate corresponding to the set member.

The verdict to evaluate in a verdict condition expression.

Direct Known Subclasses

Analysis, Attribute, Unknown

Defined Under Namespace

Classes: Analysis, Attribute, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analysisTypes::Analysis

The Add On ARN and its returned value to evaluate in a verdict condition expression.

Returns:



3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3149

class RuleVerdictToEvaluate < Struct.new(
  :analysis,
  :attribute,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Analysis < RuleVerdictToEvaluate; end
  class Attribute < RuleVerdictToEvaluate; end
  class Unknown < RuleVerdictToEvaluate; end
end

#attributeString

The email verdict attribute to evaluate in a string verdict expression.

Returns:

  • (String)


3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3149

class RuleVerdictToEvaluate < Struct.new(
  :analysis,
  :attribute,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Analysis < RuleVerdictToEvaluate; end
  class Attribute < RuleVerdictToEvaluate; end
  class Unknown < RuleVerdictToEvaluate; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3149
3150
3151
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3149

def unknown
  @unknown
end