Class with code common to Put* requests. More...
#import <S3AbstractPutRequest.h>
Inherits S3Request.
Inherited by S3CopyObjectRequest, and S3PutObjectRequest.
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 | |
S3CannedACL * | cannedACL |
A canned access control list to apply to the object. | |
NSString * | storageClass |
The storage class for the object. |
Class with code common to Put* requests.
Do not instantiate directly
- (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.
- (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'