Click or drag to resize
CopyObjectRequest Class
The request class of the operation to copy an existing object to another one. The destination object could be a non-existing or existing object.
Inheritance Hierarchy
SystemObject
  Aliyun.OSSCopyObjectRequest

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public class CopyObjectRequest

The CopyObjectRequest type exposes the following members.

Constructors
  NameDescription
Public methodCopyObjectRequest
Creates a new CopyObjectRequest instance
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDestinationBucketName
Destination bucket name's getter/setter.
Public propertyDestinationKey
Destination object key's getter/setter.
Public propertyMatchingETagConstraints
ETag maching contraints---that is for the copy operation to execute, the source object's ETag must match one of the ETags in this property. If not, return 412 as HTTP code (precondition failed)
Public propertyModifiedSinceConstraint
Modified timestamp threshold----that is for the copy operation to execute, the file's last modified time must be same or greater than this property; Otherwise return 412 as HTTP code (precondition failed)
Public propertyNewObjectMetadata
Destination object's metadata getter/setter
Public propertyNonmatchingETagConstraints
ETag non-matching contraints---that is for the copy operation to execute, the source object's ETag must not match any of the ETags in this property. If matches any, return 412 as HTTP code (precondition failed)
Public propertySourceBucketName
Source bucket name's getter/setter.
Public propertySourceKey
Source object key's getter/setter.
Public propertyUnmodifiedSinceConstraint
Unmodified timestamp threshold----that is for the copy operation to execute, the file's last modified time must be smaller than this property; Otherwise return 412 as HTTP code (precondition failed)
Top
See Also