Skip to main content

CopyObjectsRequest Constructors

An object defining constructors for the CopyObjectsRequest class.

CopyObjectsRequest()

Initializes a new instance of the CopyObjectsRequest class.


CopyObjectsRequest(sourceSecretKeys, destinationSecretKey)

Initializes a new instance of the CopyObjectsRequest class with the specified source and destination security keys.

Parameters:

sourceSecretKeys (required): List<string>
The list of encrypted secret keys for the source objects to be copied.

destinationSecretKey (required): string
The encrypted secret key for the destination location.

This constructor creates a new CopyObjectsRequest instance by initializing the security keys for both source objects and destination location. The corresponding decrypted secrets will be automatically populated through the DecryptData attributes.