Builder

class Builder

Properties

Link copied to clipboard

The name of the annotation.

Link copied to clipboard

The annotation payload. Must be between 1 byte and 1 MiB in size, and must be valid UTF-8 encoded text. If the payload contains invalid UTF-8 bytes, the request fails with HTTP 415 (Unsupported Media Type). To store binary data, encode the payload using Base64 before uploading.

Link copied to clipboard

The name of the bucket that contains the object.

Link copied to clipboard

The checksum algorithm to use. Supported values: CRC32, CRC32C, CRC64NVME, SHA1, SHA256, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128.

Link copied to clipboard

Base64-encoded CRC32 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded CRC32C checksum of the annotation payload.

Link copied to clipboard

Base64-encoded CRC64NVME checksum of the annotation payload.

Link copied to clipboard

Base64-encoded MD5 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded SHA1 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded SHA256 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded SHA512 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded XXHASH128 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded XXHASH3 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded XXHASH64 checksum of the annotation payload.

Link copied to clipboard

Base64-encoded MD5 digest of the message.

Link copied to clipboard

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.

Link copied to clipboard
var key: String?

The object key.

Link copied to clipboard

If specified, the operation only succeeds if the object's ETag matches the provided value.

Link copied to clipboard

Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for the corresponding charges. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets in the Amazon S3 User Guide.

Link copied to clipboard

The version ID of the object to attach the annotation to.