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

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

Overview

The version of an object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#checksum_algorithmArray<String>

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

Returns:

  • (Array<String>)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_typeString

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*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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

#etagString

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

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_latestBoolean

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

Returns:

  • (Boolean)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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

#keyString

The object key.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_modifiedTime

Date and time when the object was last modified.

Returns:

  • (Time)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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

#ownerTypes::Owner

Specifies the owner of the object.

Returns:



12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_statusTypes::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*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html



12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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

#sizeInteger

Size in bytes of the object.

Returns:

  • (Integer)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_classString

The class of storage used to store the object.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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_idString

Version ID of an object.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
# File 'lib/aws-sdk-s3/types.rb', line 12830

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