Public Member Functions | Static Public Member Functions | Properties

S3Grant Class Reference

Represents a grant for an bucket/object ACL. More...

#import <S3Grant.h>

List of all members.

Public Member Functions

(id) - initWithGrantee:withPermission:
 Initializes the object with the specified grantee and permission.
(NSString *) - toXml
 Returns the XML represenation of the grant.

Static Public Member Functions

(id) + grantWithGrantee:withPermission:
 Returns an initialized instance with the specified grantee and permission.

Properties

S3Granteegrantee
 Gets and sets the grantee for the grant.
S3Permissionpermission
 Gets and sets the permission for the grant.

Detailed Description

Represents a grant for an bucket/object ACL.

A grant contains an S3Grantee and a S3Permission for that S3Grantee.

For more information on Grants/ACLs refer:

See also:
http://docs.amazonwebservices.com/AmazonS3/latest/index.html?RESTAuthentication.html

Member Function Documentation

+ (id S3Grant.)grantWithGrantee: (S3Grantee *)  theGrantee
withPermission: (S3Permission *)  thePermission 

Returns an initialized instance with the specified grantee and permission.

Parameters:
theGrantee The grantee for the grant.
thePermission The permission to grant the grantee.
Returns:
An initialized object representing the grant.
- (id S3Grant.)initWithGrantee: (S3Grantee *)  theGrantee
withPermission: (S3Permission *)  thePermission 

Initializes the object with the specified grantee and permission.

Parameters:
theGrantee The grantee for the grant.
thePermission The permission to grant the grantee.
Returns:
An initialized object representing the grant.
- (NSString * S3Grant.)toXml  

Returns the XML represenation of the grant.


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