GetObjectResponse

Types

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

Properties

Link copied to clipboard

Indicates that a range of bytes was specified in the request.

Link copied to clipboard

Object data.

Link copied to clipboard

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

Link copied to clipboard

Specifies caching behavior along the request/reply chain.

Link copied to clipboard

The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

The Base64 encoded, 32-bit CRC32C checksum of the object. This will only be present if the object was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

The Base64 encoded, 64-bit CRC64NVME checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

The Base64 encoded, 160-bit SHA1 digest of the object. This will only be present if the object was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

The Base64 encoded, 256-bit SHA256 digest of the object. This will only be present if the object was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the CreateMultipartUpload request. For more information, see Checking object integrity in the Amazon S3 User Guide.

Link copied to clipboard

Specifies presentational information for the object.

Link copied to clipboard

Indicates what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

Link copied to clipboard

The language the content is in.

Link copied to clipboard

Size of the body in bytes.

Link copied to clipboard

The portion of the object returned in the response.

Link copied to clipboard

A standard MIME type describing the format of the object data.

Link copied to clipboard

Indicates whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.

Link copied to clipboard
val eTag: String?

An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

Link copied to clipboard

If the object expiration is configured (see PutBucketLifecycleConfiguration), the response includes this header. It includes the expiry-date and rule-id key-value pairs providing object expiration information. The value of the rule-id is URL-encoded.

Link copied to clipboard

The date and time at which the object is no longer cacheable.

Link copied to clipboard

The date and time at which the object is no longer cacheable.

Link copied to clipboard

Date and time when the object was last modified.

Link copied to clipboard

A map of metadata to store with the object in S3.

Link copied to clipboard

This is set to the number of metadata entries not returned in the headers that are prefixed with x-amz-meta-. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.

Link copied to clipboard

Indicates whether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.

Link copied to clipboard

The Object Lock mode that's currently in place for this object.

Link copied to clipboard

The date and time when this object's Object Lock will expire.

Link copied to clipboard

The count of parts this object has. This value is only returned if you specify partNumber in your request and the object was uploaded as a multipart upload.

Link copied to clipboard

Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.

Link copied to clipboard

If present, indicates that the requester was successfully charged for the request.

Link copied to clipboard

Provides information about object restoration action and expiration time of the restored object copy.

Link copied to clipboard

The server-side encryption algorithm used when you store this object in Amazon S3.

Link copied to clipboard

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.

Link copied to clipboard

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.

Link copied to clipboard

If present, indicates the ID of the KMS key that was used for object encryption.

Link copied to clipboard

Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

Link copied to clipboard

The number of tags, if any, on the object, when you have the relevant permission to read object tags.

Link copied to clipboard

Version ID of the object.

Link copied to clipboard

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

Functions

Link copied to clipboard
inline fun copy(block: GetObjectResponse.Builder.() -> Unit = {}): GetObjectResponse
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