Class: Aws::S3::Types::Transition

Inherits:
Struct
  • Object
show all
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, INTELLIGENT_TIERING
}

Instance Attribute Summary collapse

Instance Attribute Details

#dateTime

Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.

Returns:

  • (Time)


9716
9717
9718
9719
9720
9721
# File 'lib/aws-sdk-s3/types.rb', line 9716

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  include Aws::Structure
end

#daysInteger

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Returns:

  • (Integer)


9716
9717
9718
9719
9720
9721
# File 'lib/aws-sdk-s3/types.rb', line 9716

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  include Aws::Structure
end

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


9716
9717
9718
9719
9720
9721
# File 'lib/aws-sdk-s3/types.rb', line 9716

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  include Aws::Structure
end