RenameObjectRequest

Types

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

Properties

Link copied to clipboard

The bucket name of the directory bucket containing the object.

Link copied to clipboard

A unique string with a max of 64 ASCII characters in the ASCII range of 33 - 126.

Link copied to clipboard

Renames the object only if the ETag (entity tag) value provided during the operation matches the ETag of the object in S3. The If-Match header field makes the request method conditional on ETags. If the ETag values do not match, the operation returns a 412 Precondition Failed error.

Link copied to clipboard

Renames the object if the destination exists and if it has been modified since the specified time.

Link copied to clipboard

Renames the object only if the destination does not already exist in the specified directory bucket. If the object does exist when you send a request with If-None-Match:*, the S3 API will return a 412 Precondition Failed error, preventing an overwrite. The If-None-Match header prevents overwrites of existing data by validating that there's not an object with the same key name already in your directory bucket.

Link copied to clipboard

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

Link copied to clipboard
val key: String?

Key name of the object to rename.

Link copied to clipboard

Specifies the source for the rename operation. The value must be URL encoded.

Link copied to clipboard

Renames the object if the source exists and if its entity tag (ETag) matches the specified ETag.

Link copied to clipboard

Renames the object if the source exists and if it has been modified since the specified time.

Link copied to clipboard

Renames the object if the source exists and if its entity tag (ETag) is different than the specified ETag. If an asterisk (*) character is provided, the operation will fail and return a 412 Precondition Failed error.

Link copied to clipboard

Renames the object if the source exists and hasn't been modified since the specified time.

Functions

Link copied to clipboard
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