CopyObjectRequest Class |
Namespace: Aliyun.OSS
The CopyObjectRequest type exposes the following members.
Name | Description | |
---|---|---|
CopyObjectRequest |
构造一个新的CopyObjectRequest 实例
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
DestinationBucketName |
获取或者设置目标Object所在的Bucket的名称。
| |
DestinationKey |
获取或者设置目标Object的Key。
| |
MatchingETagConstraints |
如果源Object的ETAG值和用户提供的ETAG相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
| |
ModifiedSinceConstraint |
如果源Object自从用户指定的时间以后被修改过,则执行拷贝操作;
否则返回412 HTTP错误码(预处理失败)。
| |
NewObjectMetadata |
获取或者设置目标Object的Metadata信息。
| |
NonmatchingETagConstraints |
如果源Object的ETAG值和用户提供的ETAG不相等,则执行拷贝操作;否则返回412 HTTP错误码(预处理失败)。
| |
SourceBucketName |
获取或者设置源Object所在的Bucket的名称。
| |
SourceKey |
获取或者设置源Object的Key。
| |
UnmodifiedSinceConstraint |
如果传入参数中的时间等于或者晚于文件实际修改时间,则正常传输文件,并返回200 OK;
否则返回412 precondition failed错误
|