Class: Aws::MailManager::Types::ArchiveRetention
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::ArchiveRetention
- 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
Defined Under Namespace
Classes: RetentionPeriod, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retention_period ⇒ String
The enum value sets the period for retaining emails in an archive.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#retention_period ⇒ String
The enum value sets the period for retaining emails in an archive.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
294 295 296 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 294 def unknown @unknown end |