OBSCopyObjectRequest Class Reference
| Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel | 
|---|---|
| Conforms to | OBSCopyObjectProtocol | 
| Declared in | OBSCopyObjectModel.h OBSCopyObjectModel.m  | 
  srcBucketName
	Name of the bucket housing the to-be-copied object
@property (nonatomic, strong, nonnull) NSString *srcBucketNameDeclared In
OBSCopyObjectModel.h
  srcObjectKey
	Source object name
@property (nonatomic, strong, nonnull) NSString *srcObjectKeyDeclared In
OBSCopyObjectModel.h
  srcObjectVersionID
	Version ID of the source object
@property (nonatomic, strong, nonnull) NSString *srcObjectVersionIDDeclared In
OBSCopyObjectModel.h
  dstBucketName
	Name of the bucket to which the object will be copied
@property (nonatomic, strong, nonnull) NSString *dstBucketNameDeclared In
OBSCopyObjectModel.h
  dstObjectKey
	Name of the object copy
@property (nonatomic, strong, nonnull) NSString *dstObjectKeyDeclared In
OBSCopyObjectModel.h
  dstObjectACLPolicy
	ACL of the object copy
@property (nonatomic, assign) OBSACLPolicy dstObjectACLPolicyDeclared In
OBSCopyObjectModel.h
  dstObjectMetaDirective
	Metadata of the object copy
@property (nonatomic, assign) OBSMetaDirective dstObjectMetaDirectiveDeclared In
OBSCopyObjectModel.h
  cpSrcIfETagMatch
	The source object will be copied if its ETag is the same as the specified one.
@property (nonatomic, strong, nonnull) NSString *cpSrcIfETagMatchDeclared In
OBSCopyObjectModel.h
  cpSrcIfETagNoneMatch
	The source object will be copied if its ETag is different from the specified one.
@property (nonatomic, strong, nonnull) NSString *cpSrcIfETagNoneMatchDeclared In
OBSCopyObjectModel.h
  cpSrcIfModifiedSince
	The source object will be copied if it is modified after the specified point in time.
@property (nonatomic, strong, nonnull) NSDate *cpSrcIfModifiedSinceDeclared In
OBSCopyObjectModel.h
  cpSrcIfUnmodifiedSince
	The source object will be copied if it remains unchanged since the specified point in time.
@property (nonatomic, strong, nonnull) NSDate *cpSrcIfUnmodifiedSinceDeclared In
OBSCopyObjectModel.h
  dstObjectStorageClass
	Object storage class
@property (nonatomic, assign) OBSStorageClass dstObjectStorageClassDeclared In
OBSCopyObjectModel.h
  dstObjectWebsiteRedirectLocation
	Redirection address of the object
@property (nonatomic, strong, nonnull) NSString *dstObjectWebsiteRedirectLocationDeclared In
OBSCopyObjectModel.h
  dstObjectEncryption
	Encryption mode of the object copy
@property (nonatomic, strong, nonnull) __kindof OBSAbstractEncryption *dstObjectEncryptionDeclared In
OBSCopyObjectModel.h
  srcObjectEncryption
	Encryption mode of the source object
@property (nonatomic, strong, nonnull) __kindof OBSAbstractEncryption *srcObjectEncryptionDeclared In
OBSCopyObjectModel.h
– initWithSrcBucketName:srcObjectKey:dstBucketName:dstObjectKey:
	Initialize an object copy request.
- (instancetype)initWithSrcBucketName:(NSString *)srcBucketName srcObjectKey:(NSString *)srcObjectKey dstBucketName:(NSString *)dstBucketName dstObjectKey:(NSString *)dstObjectKeyParameters
srcBucketName | 
						Name of the bucket housing the source object  | 
					
|---|---|
srcObjectKey | 
						Source object name  | 
					
dstBucketName | 
						Name of the bucket to which the object will be copied  | 
					
dstObjectKey | 
						Name of the object copy  | 
					
Return Value
Object copy request
Declared In
OBSCopyObjectModel.h