You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

Returns:

  • (String)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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

#ownerTypes::Owner

Returns:



5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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)


5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 5214

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