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

#checksum_algorithm ⇒ Array<String>

The algorithm that was used to create a checksum of the object.

Returns:

  • (Array<String>)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#checksum_type ⇒ String

The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

Returns:

  • (String)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#etag ⇒ String

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

Returns:

  • (String)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#is_latest ⇒ Boolean

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

Returns:

  • (Boolean)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#key ⇒ String

The object key.

Returns:

  • (String)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#last_modified ⇒ Time

Date and time when the object was last modified.

Returns:

  • (Time)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#owner ⇒ Types::Owner

Specifies the owner of the object.

Returns:



15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#restore_status ⇒ Types::RestoreStatus

Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.



15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#size ⇒ Integer

Size in bytes of the object.

Returns:

  • (Integer)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#storage_class ⇒ String

The class of storage used to store the object.

Returns:

  • (String)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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

#version_id ⇒ String

Version ID of an object.

Returns:

  • (String)


15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15446

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