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

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

Overview

The version of an object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

The entity tag is an MD5 hash of that version of the object.

Returns:

  • (String)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#is_latestBoolean

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

Returns:

  • (Boolean)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#keyString

The object key.

Returns:

  • (String)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#last_modifiedTime

Date and time the object was last modified.

Returns:

  • (Time)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#ownerTypes::Owner

Specifies the owner of the object.

Returns:



8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#sizeInteger

Size in bytes of the object.

Returns:

  • (Integer)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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

#version_idString

Version ID of an object.

Returns:

  • (String)


8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8357

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