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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The version of an object.

Instance Attribute Summary collapse

Instance Attribute Details

#etag ⇒ String

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

Returns:

  • (String) —

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

#is_latest ⇒ Boolean

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

Returns:

  • (Boolean) —

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

#key ⇒ String

The object key.

Returns:

  • (String) —

    The object key.

#last_modified ⇒ Time

Date and time the object was last modified.

Returns:

  • (Time) —

    Date and time the object was last modified.

#owner ⇒ Types::Owner

Specifies the owner of the object.

Returns:

#size ⇒ Integer

Size in bytes of the object.

Returns:

  • (Integer) —

    Size in bytes of the object.

#storage_class ⇒ String

The class of storage used to store the object.

Possible values:

  • STANDARD

Returns:

  • (String) —

    The class of storage used to store the object.

#version_id ⇒ String

Version ID of an object.

Returns:

  • (String) —

    Version ID of an object.