Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorageBucket.CopyObject

TElAWSS3DataStorageBucket     See also     


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


Copies data object.

Declaration

[C#]
    TElCustomDataStorageObject CopyObject(string SourceKey, string DestBucketName, string DestKey, TElCustomDataStorageSecurityHandler NewHandler);
    TElCustomDataStorageObject CopyObject(string SourceKey, string DestBucketName, string DestKey, bool PreserveMetadata, TElStringList Metadata);
    TElCustomDataStorageObject CopyObject(string SourceKey, string DestBucketName, string DestKey, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, bool PreserveMetadata, TElStringList Metadata);
    TElCustomDataStorageObject CopyObject(string SourceKey, string DestBucketName, string DestKey, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, string StorageClass, bool PreserveMetadata, TElStringList Metadata);

[VB.NET]
    Function CopyObject(ByVal SourceKey As String, ByVal DestBucketName As String, ByVal DestKey As String, ByVal NewHandler As TElCustomDataStorageSecurityHandler) As TElCustomDataStorageObject
    Function CopyObject(ByVal SourceKey As String, ByVal DestBucketName As String, ByVal DestKey As String, ByVal PreserveMetadata As Boolean, ByVal Metadata As TElStringList) As TElCustomDataStorageObject
    Function CopyObject(ByVal SourceKey As String, 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 CopyObject(ByVal SourceKey As String, 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 CopyObject(const SourceKey : string; const DestBucketName : string; const DestKey : string; NewHandler : TElCustomDataStorageSecurityHandler) : TElCustomDataStorageObject;
    function CopyObject(const SourceKey : string; const DestBucketName : string; const DestKey : string; PreserveMetadata : boolean; Metadata : TStringList) : TElCustomDataStorageObject;
    function CopyObject(const SourceKey : string; const DestBucketName : string; const DestKey : string; Condition : TSBAWSS3ReadObjectCondition; DateTime : DateTime; ETag : string; PreserveMetadata : boolean; Metadata : TStringList) : TElCustomDataStorageObject;

[C++]
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, TElCustomDataStorageSecurityHandler &NewHandler);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, TElCustomDataStorageSecurityHandler *NewHandler);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, bool PreserveMetadata, TElStringList &Metadata);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, bool PreserveMetadata, TElStringList *Metadata);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, bool PreserveMetadata, TElStringList &Metadata);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, const std::string &DestBucketName, const std::string &DestKey, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, bool PreserveMetadata, TElStringList *Metadata);
    TElCustomDataStorageObjectHandle CopyObject(const std::string &SourceKey, 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 CopyObject(const std::string &SourceKey, 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 CopyObject(string $SourceKey, string $DestBucketName, string $DestKey, TElCustomDataStorageSecurityHandler $NewHandler)
    TElCustomDataStorageObject CopyObject(string $SourceKey, string $DestBucketName, string $DestKey, bool $PreserveMetadata, TElStringList $Metadata)
    TElCustomDataStorageObject CopyObject(string $SourceKey, string $DestBucketName, string $DestKey, integer $Condition, DateTime $DateTime, string $ETag, bool $PreserveMetadata, TElStringList $Metadata)
    TElCustomDataStorageObject CopyObject(string $SourceKey, string $DestBucketName, string $DestKey, integer $Condition, DateTime $DateTime, string $ETag, string $StorageClass, bool $PreserveMetadata, TElStringList $Metadata)

[Java]
    TElCustomDataStorageObject copyObject(String SourceKey, String DestBucketName, String DestKey, boolean PreserveMetadata, TElStringList Metadata);
    TElCustomDataStorageObject copyObject(String SourceKey, String DestBucketName, String DestKey, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, boolean PreserveMetadata, TElStringList Metadata);
    TElCustomDataStorageObject copyObject(String SourceKey, String DestBucketName, String DestKey, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, String StorageClass, boolean PreserveMetadata, TElStringList Metadata);
    TElCustomDataStorageObject copyObject(String SourceKey, String DestBucketName, String DestKey, TElCustomDataStorageSecurityHandler NewHandler);

Parameters

  • SourceKey - a unique identifier of the object to be copied
  • DestBucketName - name of the bucket where the object should be copied to
  • DestKey - a unique identifier of the destination object
  • Obj - object to be copied
  • 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:     CreateObject     ReadObject     WriteObject    

Discuss this help topic in SecureBlackbox Forum