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.

Constant Summary collapse

SENSITIVE =
[]

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)


8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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

#keyString

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

Returns:

  • (String)


8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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

#last_modifiedTime

The date the Object was Last Modified

Returns:

  • (Time)


8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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

#ownerTypes::Owner

The owner of the object

Returns:



8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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

#sizeInteger

Size in bytes of the object

Returns:

  • (Integer)


8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 8161

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