Class: Aws::S3::Types::Transition
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::Transition
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass Transition data as a hash:
{
date: Time.now,
days: 1,
storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA
}
Instance Attribute Summary collapse
-
#date ⇒ Time
Indicates at what date the object is to be moved or deleted.
-
#days ⇒ Integer
Indicates the lifetime, in days, of the objects that are subject to the rule.
-
#storage_class ⇒ String
The class of storage used to store the object.
Instance Attribute Details
#date ⇒ Time
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
8433 8434 8435 8436 8437 8438 |
# File 'lib/aws-sdk-s3/types.rb', line 8433 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#days ⇒ Integer
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
8433 8434 8435 8436 8437 8438 |
# File 'lib/aws-sdk-s3/types.rb', line 8433 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#storage_class ⇒ String
The class of storage used to store the object.
8433 8434 8435 8436 8437 8438 |
# File 'lib/aws-sdk-s3/types.rb', line 8433 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |