OBSCreateBucketRequest Class Reference
Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel |
---|---|
Conforms to | OBSCreateBucketProtocol |
Declared in | OBSCreateBucketModel.h OBSCreateBucketModel.m |
Other Methods
– initWithBucketName:
Initialize a request for creating a bucket.
- (instancetype)initWithBucketName:(NSString *)bucketName
Parameters
bucketName |
Bucket name |
---|
Return Value
Request instance
Declared In
OBSCreateBucketModel.h
Other Methods
configuration
//Region
@property (nonatomic, strong, nullable) OBSBucketConfiguration *configuration
Declared In
OBSCreateBucketModel.h
bucketACLPolicy
ACL
@property (nonatomic, assign) OBSACLPolicy bucketACLPolicy
Discussion
OBSACLPolicyNULL0,
OBSACLPolicyPrivate,
OBSACLPolicyPublicRead,
OBSACLPolicyPublicReadWrite,
OBSACLPolicyAuthenticatedRead,
OBSACLPolicyBucketOwnerRead,
OBSACLPolicyBucketOwnerFullControl,
OBSACLPolicyLogDeliveryWrite,
Declared In
OBSCreateBucketModel.h
defaultStorageClass
Bucket storage class
@property (nonatomic, assign) OBSStorageClass defaultStorageClass
Discussion
OBSStorageClassNULL0,
OBSStorageClassStandard,
OBSStorageClassStandardIA,
OBSStorageClassGlacier,
Declared In
OBSCreateBucketModel.h
bucketName
Bucket name
@property (nonatomic, strong, nonnull) NSString *bucketName
Declared In
OBSCreateBucketModel.h
grantRead
Grant the READ permission to all users in a specified domain.
@property (nonatomic, strong, nonnull) NSString *grantRead
Declared In
OBSCreateBucketModel.h
grantWrite
Grant the WRITE permission to all users in a specified domain.
@property (nonatomic, strong, nonnull) NSString *grantWrite
Declared In
OBSCreateBucketModel.h
grantReadAcp
Grant the READ_ACP permission to all users in a specified domain.
@property (nonatomic, strong, nonnull) NSString *grantReadAcp
Declared In
OBSCreateBucketModel.h
grantWriteAcp
Grant the WRITE_ACP permission to all users in a specified domain to modify bucket ACLs.
@property (nonatomic, strong, nonnull) NSString *grantWriteAcp
Declared In
OBSCreateBucketModel.h
grantfullControl
Grant the FULL_CONTROL permission to all users in a specified domain.
@property (nonatomic, strong, nonnull) NSString *grantfullControl
Declared In
OBSCreateBucketModel.h
grantreadDelivered
Grant the READ permission to all users in a specified domain. By default, these users have the READ permission on all objects in the bucket.
@property (nonatomic, strong, nonnull) NSString *grantreadDelivered
Declared In
OBSCreateBucketModel.h
grantfullControlDelivered
Grant the FULL_CONTROL permission to all users in a specified domain. By default, these users have the READ permission on all objects in the bucket.
@property (nonatomic, strong, nonnull) NSString *grantfullControlDelivered
Declared In
OBSCreateBucketModel.h