Builder

class Builder

Properties

Link copied to clipboard

The bucket name.

Link copied to clipboard

Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want to access the source object through an access point:

Link copied to clipboard

Copies the object if its entity tag (ETag) matches the specified tag.

Link copied to clipboard

Copies the object if it has been modified since the specified time.

Link copied to clipboard

Copies the object if its entity tag (ETag) is different than the specified ETag.

Link copied to clipboard

Copies the object if it hasn't been modified since the specified time.

Link copied to clipboard

The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You can copy a range only if the source object is greater than 5 MB.

Link copied to clipboard

Specifies the algorithm to use when decrypting the source object (for example, AES256).

Link copied to clipboard

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

Link copied to clipboard

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

Link copied to clipboard

The account ID of the expected destination bucket owner. If the account ID that you provide does not match the actual owner of the destination bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

Link copied to clipboard

The account ID of the expected source bucket owner. If the account ID that you provide does not match the actual owner of the source bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

Link copied to clipboard
var key: String?

Object key for which the multipart upload was initiated.

Link copied to clipboard

Part number of part being copied. This is a positive integer between 1 and 10,000.

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 corresponding charges to copy the object. 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

Specifies the algorithm to use when encrypting the object (for example, AES256).

Link copied to clipboard

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request.

Link copied to clipboard

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.

Link copied to clipboard

Upload ID identifying the multipart upload whose part is being copied.