Object

class Object

An object consists of data and its descriptive metadata.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The algorithm that was used to create a checksum of the object.

Link copied to clipboard

The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard
val eTag: String?

The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below:

Link copied to clipboard
val key: String?

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

Link copied to clipboard

Creation date of the object.

Link copied to clipboard
val owner: Owner?

The owner of the object

Link copied to clipboard

Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.

Link copied to clipboard
val size: Long?

Size in bytes of the object

Link copied to clipboard

The class of storage used to store the object.

Functions

Link copied to clipboard
inline fun copy(block: Object.Builder.() -> Unit = {}): Object
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String