Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageObject.Copy

TElAWSS3DataStorageObject     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Copies data object.

Declaration

[VB.NET]
    Function Copy(ByVal DestBucketName As String, ByVal DestKey As String, ByVal NewHandler As TElCustomDataStorageSecurityHandler) As TElCustomDataStorageObject
    Function Copy(ByVal DestBucketName As String, ByVal DestKey As String, ByVal PreserveMetadata As Boolean, ByVal Metadata As TElStringList) As TElCustomDataStorageObject
    Function Copy(ByVal DestBucketName As String, ByVal DestKey As String, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal PreserveMetadata As Boolean, ByVal Metadata As TElStringList) As TElCustomDataStorageObject
    Function Copy(ByVal DestBucketName As String, ByVal DestKey As String, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal StorageClass As String, ByVal PreserveMetadata As Boolean, ByVal Metadata As TElStringList) As TElCustomDataStorageObject

[Pascal]
    function Copy(const DestBucketName : string; const DestKey : string; NewHandler : TElCustomDataStorageSecurityHandler) : TElCustomDataStorageObject;
    function Copy(const DestBucketName : string; const DestKey : string; PreserveMetadata : boolean; Metadata : TStringList) : TElCustomDataStorageObject;
    function Copy(const DestBucketName : string; const DestKey : string; Condition : TSBAWSS3ReadObjectCondition; DateTime : DateTime; ETag : string; PreserveMetadata : boolean; Metadata : TStringList) : TElCustomDataStorageObject;

[C++]
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TElCustomDataStorageSecurityHandler &NewHandler);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TElCustomDataStorageSecurityHandler *NewHandler);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, bool PreserveMetadata, TElStringList &Metadata);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, bool PreserveMetadata, TElStringList *Metadata);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, bool PreserveMetadata, TElStringList &Metadata);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, bool PreserveMetadata, TElStringList *Metadata);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, const std::string &StorageClass, bool PreserveMetadata, TElStringList &Metadata);
    TElCustomDataStorageObjectHandle Copy(const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, const std::string &StorageClass, bool PreserveMetadata, TElStringList *Metadata);

[PHP]
    TElCustomDataStorageObject Copy(string $DestBucketName, string $DestKey, TElCustomDataStorageSecurityHandler $NewHandler)
    TElCustomDataStorageObject Copy(string $DestBucketName, string $DestKey, bool $PreserveMetadata, TElStringList $Metadata)
    TElCustomDataStorageObject Copy(string $DestBucketName, string $DestKey, integer $Condition, DateTime $DateTime, string $ETag, bool $PreserveMetadata, TElStringList $Metadata)
    TElCustomDataStorageObject Copy(string $DestBucketName, string $DestKey, integer $Condition, DateTime $DateTime, string $ETag, string $StorageClass, bool $PreserveMetadata, TElStringList $Metadata)

Parameters

  • DestBucketName - name of the bucket where the object should be copied to
  • DestKey - a unique identifier of the destination object
  • NewHandler - security handler used to perform the operation
  • Condition - condition under which the object will be copied
  • DateTime - object's modification date and time
  • ETag - object's entity tag
  • Metadata - contains metadata of the object
  • PreserveMetadata - specifies whether to preserve object's metadata
  • StorageClass - ...

Values


Return value

    Instance of TElAWSS3DataStorageObject class which contains a copy of object.

Description

    Use this method to copy objects from one data bucket into another.

See also:     Read     Write    

Discuss this help topic in SecureBlackbox Forum