Class: Aws::MailManager::Types::RuleStringToEvaluate

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

Overview

Note:

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

Note:

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

The string to evaluate in a string condition expression.

Direct Known Subclasses

Attribute, MimeHeaderAttribute, Unknown

Defined Under Namespace

Classes: Attribute, MimeHeaderAttribute, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributeString

The email attribute to evaluate in a string condition expression.

Returns:

  • (String)


3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3134

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

  class Attribute < RuleStringToEvaluate; end
  class MimeHeaderAttribute < RuleStringToEvaluate; end
  class Unknown < RuleStringToEvaluate; end
end

#mime_header_attributeString

The email MIME X-Header attribute to evaluate in a string condition expression.

Returns:

  • (String)


3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3134

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

  class Attribute < RuleStringToEvaluate; end
  class MimeHeaderAttribute < RuleStringToEvaluate; end
  class Unknown < RuleStringToEvaluate; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3134
3135
3136
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3134

def unknown
  @unknown
end