Contains the parameters used for the CopyObject operation. More...
#import <S3CopyObjectRequest.h>
Inherits S3AbstractPutRequest.
Public Member Functions | |
(id) | - initWithSourceKey:sourceBucket:destinationKey:destinationBucket: |
intializes the request with source and destination. | |
Properties | |
NSString * | sourceKey |
The name of the source object. | |
NSString * | sourceBucket |
The bucket of the source object. | |
NSString * | metadataDirective |
Whether to copy or replace the metadata. | |
NSString * | ifMatch |
Copies the object if its entity tag (ETag) matches the specified tag. | |
NSString * | ifNoneMatch |
Copies the object if its entity tag (ETag) is different than the specified ETag. | |
NSDate * | ifModifiedSince |
Copies the object if it has been modified since the specified time. | |
NSDate * | ifUnmodifiedSince |
Copies the object if it hasn't been modified since the specified time. |
Contains the parameters used for the CopyObject operation.
- (id S3CopyObjectRequest.)initWithSourceKey: | (NSString *) | srcKey | ||
sourceBucket: | (NSString *) | srcBucket | ||
destinationKey: | (NSString *) | dstKey | ||
destinationBucket: | (NSString *) | dstBucket | ||
intializes the request with source and destination.
srcKey | The name of the source object. | |
srcBucket | The name of the souce bucket. | |
dstKey | The name of the destination object. | |
dstBucket | The name of the destination bucket. |
- (NSString *) metadataDirective [read, write, retain] |
Whether to copy or replace the metadata.
Valid values: COPY | REPLACE
- (NSString *) sourceKey [read, write, retain] |
The name of the source object.