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:



3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3194

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)


3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3194

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



3194
3195
3196
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3194

def unknown
  @unknown
end