Class: Aws::MailManager::Types::ArchiveRetention

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

Overview

Note:

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

Note:

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

The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.

Direct Known Subclasses

RetentionPeriod, Unknown

Defined Under Namespace

Classes: RetentionPeriod, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#retention_periodString

The enum value sets the period for retaining emails in an archive.

Returns:

  • (String)


294
295
296
297
298
299
300
301
302
303
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 294

class ArchiveRetention < Struct.new(
  :retention_period,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetentionPeriod < ArchiveRetention; end
  class Unknown < ArchiveRetention; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



294
295
296
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 294

def unknown
  @unknown
end