OBSSetBucketPolicyWithStringRequest Class Reference

Inherits from OBSBaseRequest : OBSAbstractModel : OBSMTLModel
Conforms to OBSSetBucketPolicyProtocol
Declared in OBSSetBucketPolicyModel.h
OBSSetBucketPolicyModel.m

Overview

Request for configuring bucket policies using character strings

Other Methods

– initWithBucketName:policyString:

Initialize a request for configuring bucket policies using character strings.

- (instancetype)initWithBucketName:(NSString *)bucketName policyString:(NSString *)policyString

Parameters

bucketName

Bucket name

policyString

Character string representing the bucket policy

Return Value

Request for configuring bucket policies using character strings

Declared In

OBSSetBucketPolicyModel.h

Other Methods

  bucketName

Bucket name

@property (nonatomic, strong, nonnull) NSString *bucketName

Declared In

OBSSetBucketPolicyModel.h

  policyString

Character string representing the bucket policy

@property (nonatomic, strong, nonnull) NSString *policyString

Declared In

OBSSetBucketPolicyModel.h