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

#etagString

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_latestBoolean

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.

#keyString

The object key.

Returns:

  • (String)

    The object key.

#last_modifiedTime

Date and time the object was last modified.

Returns:

  • (Time)

    Date and time the object was last modified.

#ownerTypes::Owner

Specifies the owner of the object.

Returns:

#sizeInteger

Size in bytes of the object.

Returns:

  • (Integer)

    Size in bytes of the object.

#storage_classString

The class of storage used to store the object.

Possible values:

  • STANDARD

Returns:

  • (String)

    The class of storage used to store the object.

#version_idString

Version ID of an object.

Returns:

  • (String)

    Version ID of an object.