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

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

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)


7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end

#keyString

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

Returns:

  • (String)


7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end

#last_modifiedTime

The date the Object was Last Modified

Returns:

  • (Time)


7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end

#ownerTypes::Owner

The owner of the object

Returns:



7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end

#sizeInteger

Size in bytes of the object

Returns:

  • (Integer)


7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


7925
7926
7927
7928
7929
7930
7931
7932
7933
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7925

class Object < Struct.new(
  :key,
  :last_modified,
  :etag,
  :size,
  :storage_class,
  :owner)
  include Aws::Structure
end