Class: Aws::S3::Types::ObjectVersion

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

Returns:

  • (String)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#is_latestBoolean

Specifies whether the object is (true) or is not (false) the latest version of an object.

Returns:

  • (Boolean)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#keyString

The object key.

Returns:

  • (String)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#last_modifiedTime

Date and time the object was last modified.

Returns:

  • (Time)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#ownerTypes::Owner

Returns:



5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#sizeInteger

Size in bytes of the object.

Returns:

  • (Integer)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end

#version_idString

Version ID of an object.

Returns:

  • (String)


5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
# File 'lib/aws-sdk-s3/types.rb', line 5637

class ObjectVersion < Struct.new(
  :etag,
  :size,
  :storage_class,
  :key,
  :version_id,
  :is_latest,
  :last_modified,
  :owner)
  include Aws::Structure
end