Public Member Functions | Protected Attributes | Properties

S3AbstractPutRequest Class Reference

Class with code common to Put* requests. More...

#import <S3AbstractPutRequest.h>

Inherits S3Request.

Inherited by S3CopyObjectRequest, and S3PutObjectRequest.

List of all members.

Public Member Functions

(void) - addMetadataWithValue:forKey:
 Add a key-value metadata pair to the request.
(NSMutableDictionary *) - metadata
 Get the metadata dictionary of key-value pairs.

Protected Attributes

NSMutableDictionary * metadata

Properties

S3CannedACLcannedACL
 A canned access control list to apply to the object.
NSString * storageClass
 The storage class for the object.

Detailed Description

Class with code common to Put* requests.

Do not instantiate directly


Member Function Documentation

- (void S3AbstractPutRequest.)addMetadataWithValue: (NSString *)  value
forKey: (NSString *)  aKey 

Add a key-value metadata pair to the request.

These will be prefixed with x-amz-meta- and added to the request header.

- (NSMutableDictionary * S3AbstractPutRequest.)metadata  

Get the metadata dictionary of key-value pairs.

Returns:
the metadata dictionary.

Property Documentation

- (S3CannedACL *) cannedACL [read, write, retain]

A canned access control list to apply to the object.

Valid values are 'private', 'public-read', 'public-read-write', 'authenticated-read', 'log-delivery-write', 'bucket-owner-read', 'bucket-owner-full-control'.

- (NSString *) storageClass [read, write, retain]

The storage class for the object.

Valid values are 'STANDARD', 'REDUCED_REDUNDANCY'


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