case class CopyObjectSettings(copySourceIfMatches: Option[String] = None, copySourceIfNoneMatch: Option[String] = None, copyIfModifiedSince: Option[Instant] = None, copyIfUnmodifiedSince: Option[Instant] = None, expires: Option[Instant] = None, acl: Option[ObjectCannedACL] = None, grantFullControl: Option[String] = None, grantRead: Option[String] = None, grantReadACP: Option[String] = None, grantWriteACP: Option[String] = None, metadata: Map[String, String] = Map.empty, metadataDirective: Option[MetadataDirective] = None, taggingDirective: Option[TaggingDirective] = None, serverSideEncryption: Option[ServerSideEncryption] = None, storageClass: StorageClass = StorageClass.STANDARD, sseCustomerAlgorithm: Option[String] = None, sseCustomerKey: Option[String] = None, sseCustomerKeyMD5: Option[String] = None, ssekmsKeyId: Option[String] = None, copySourceSSECustomerAlgorithm: Option[String] = None, copySourceSSECustomerKey: Option[String] = None, copySourceSSECustomerKeyMD5: Option[String] = None, objectLockMode: Option[ObjectLockMode] = None, objectLockRetainUntilDate: Option[Instant] = None, objectLockLegalHoldStatus: Option[ObjectLockLegalHoldStatus] = None, requestPayer: Option[RequestPayer] = None) extends Product with Serializable
- copySourceIfMatches
copies the object if its entity tag (ETag) matches the specified tag.
- copySourceIfNoneMatch
copies the object if its entity tag (ETag) is different than the specified ETag.
- copyIfModifiedSince
copies the object if it has been modified since the specified time.
- copyIfUnmodifiedSince
copies the object if it hasn't been modified since the specified time.
- expires
the date and time at which the object is no longer cacheable.
- acl
the canned ACL to apply to the object.
- grantFullControl
gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
- grantRead
allows grantee to read the object data and its metadata.
- grantReadACP
allows grantee to read the object ACL.
- grantWriteACP
allows grantee to write the ACL for the applicable object.
- metadata
a map of metadata to store with the object in S3.
- metadataDirective
a map of metadata to store with the object in S3.
- taggingDirective
specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request.
- serverSideEncryption
specifies the server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
- storageClass
specifies the type of storage to use for the object. Defaults to 'STANDARD'.
- sseCustomerAlgorithm
Specifies the algorithm to use to when encrypting the object (for example, AES256).
- sseCustomerKey
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
- sseCustomerKeyMD5
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.
- ssekmsKeyId
specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. For information about configuring using any of the officially supported AWS SDKs and AWS CLI. href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">
- copySourceSSECustomerAlgorithm
the algorithm to use when decrypting the source object (for example, AES256).
- copySourceSSECustomerKey
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.
- copySourceSSECustomerKeyMD5
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.
- objectLockMode
the Object Lock mode that you want to apply to the copied object.
- objectLockRetainUntilDate
the date and time when you want the copied object's Object Lock to expire
- objectLockLegalHoldStatus
specifies whether you want to apply a Legal Hold to the copied object.
- requestPayer
confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests.
- Source
- CopyObjectSettings.scala
- Alphabetic
- By Inheritance
- CopyObjectSettings
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CopyObjectSettings(copySourceIfMatches: Option[String] = None, copySourceIfNoneMatch: Option[String] = None, copyIfModifiedSince: Option[Instant] = None, copyIfUnmodifiedSince: Option[Instant] = None, expires: Option[Instant] = None, acl: Option[ObjectCannedACL] = None, grantFullControl: Option[String] = None, grantRead: Option[String] = None, grantReadACP: Option[String] = None, grantWriteACP: Option[String] = None, metadata: Map[String, String] = Map.empty, metadataDirective: Option[MetadataDirective] = None, taggingDirective: Option[TaggingDirective] = None, serverSideEncryption: Option[ServerSideEncryption] = None, storageClass: StorageClass = StorageClass.STANDARD, sseCustomerAlgorithm: Option[String] = None, sseCustomerKey: Option[String] = None, sseCustomerKeyMD5: Option[String] = None, ssekmsKeyId: Option[String] = None, copySourceSSECustomerAlgorithm: Option[String] = None, copySourceSSECustomerKey: Option[String] = None, copySourceSSECustomerKeyMD5: Option[String] = None, objectLockMode: Option[ObjectLockMode] = None, objectLockRetainUntilDate: Option[Instant] = None, objectLockLegalHoldStatus: Option[ObjectLockLegalHoldStatus] = None, requestPayer: Option[RequestPayer] = None)
- copySourceIfMatches
copies the object if its entity tag (ETag) matches the specified tag.
- copySourceIfNoneMatch
copies the object if its entity tag (ETag) is different than the specified ETag.
- copyIfModifiedSince
copies the object if it has been modified since the specified time.
- copyIfUnmodifiedSince
copies the object if it hasn't been modified since the specified time.
- expires
the date and time at which the object is no longer cacheable.
- acl
the canned ACL to apply to the object.
- grantFullControl
gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
- grantRead
allows grantee to read the object data and its metadata.
- grantReadACP
allows grantee to read the object ACL.
- grantWriteACP
allows grantee to write the ACL for the applicable object.
- metadata
a map of metadata to store with the object in S3.
- metadataDirective
a map of metadata to store with the object in S3.
- taggingDirective
specifies whether the object tag-set are copied from the source object or replaced with tag-set provided in the request.
- serverSideEncryption
specifies the server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
- storageClass
specifies the type of storage to use for the object. Defaults to 'STANDARD'.
- sseCustomerAlgorithm
Specifies the algorithm to use to when encrypting the object (for example, AES256).
- sseCustomerKey
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
- sseCustomerKeyMD5
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.
- ssekmsKeyId
specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. For information about configuring using any of the officially supported AWS SDKs and AWS CLI. href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version">
- copySourceSSECustomerAlgorithm
the algorithm to use when decrypting the source object (for example, AES256).
- copySourceSSECustomerKey
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.
- copySourceSSECustomerKeyMD5
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.
- objectLockMode
the Object Lock mode that you want to apply to the copied object.
- objectLockRetainUntilDate
the date and time when you want the copied object's Object Lock to expire
- objectLockLegalHoldStatus
specifies whether you want to apply a Legal Hold to the copied object.
- requestPayer
confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val acl: Option[ObjectCannedACL]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val copyIfModifiedSince: Option[Instant]
- val copyIfUnmodifiedSince: Option[Instant]
- val copySourceIfMatches: Option[String]
- val copySourceIfNoneMatch: Option[String]
- val copySourceSSECustomerAlgorithm: Option[String]
- val copySourceSSECustomerKey: Option[String]
- val copySourceSSECustomerKeyMD5: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expires: Option[Instant]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val grantFullControl: Option[String]
- val grantRead: Option[String]
- val grantReadACP: Option[String]
- val grantWriteACP: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Map[String, String]
- val metadataDirective: Option[MetadataDirective]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val objectLockLegalHoldStatus: Option[ObjectLockLegalHoldStatus]
- val objectLockMode: Option[ObjectLockMode]
- val objectLockRetainUntilDate: Option[Instant]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val requestPayer: Option[RequestPayer]
- val serverSideEncryption: Option[ServerSideEncryption]
- val sseCustomerAlgorithm: Option[String]
- val sseCustomerKey: Option[String]
- val sseCustomerKeyMD5: Option[String]
- val ssekmsKeyId: Option[String]
- val storageClass: StorageClass
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val taggingDirective: Option[TaggingDirective]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()