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

Class: Aws::S3::Types::Object

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

Overview

An object consists of data and its descriptive metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

The entity tag is an MD5 hash of the object. ETag reflects only changes to the contents of an object, not its metadata.

Returns:

  • (String)

    The entity tag is an MD5 hash of the object.

#keyString

The name that you assign to an object. You use the object key to retrieve the object.

Returns:

  • (String)

    The name that you assign to an object.

#last_modifiedTime

The date the Object was Last Modified

Returns:

  • (Time)

    The date the Object was Last Modified.

#ownerTypes::Owner

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
  • REDUCED_REDUNDANCY
  • GLACIER
  • STANDARD_IA
  • ONEZONE_IA
  • INTELLIGENT_TIERING
  • DEEP_ARCHIVE

Returns:

  • (String)

    The class of storage used to store the object.