Public Member Functions | Properties

S3CopyObjectRequest Class Reference

Contains the parameters used for the CopyObject operation. More...

#import <S3CopyObjectRequest.h>

Inherits S3AbstractPutRequest.

List of all members.

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.

Detailed Description

Contains the parameters used for the CopyObject operation.


Member Function Documentation

- (id S3CopyObjectRequest.)initWithSourceKey: (NSString *)  srcKey
sourceBucket: (NSString *)  srcBucket
destinationKey: (NSString *)  dstKey
destinationBucket: (NSString *)  dstBucket 

intializes the request with source and destination.

Parameters:
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.
Returns:
the request object.

Property Documentation

- (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.


The documentation for this class was generated from the following file: