OBSSetBucketWebsiteRequest Class Reference
Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel |
---|---|
Conforms to | OBSSetBucketWebsiteProtocol |
Declared in | OBSSetBucketWebsiteModel.h OBSSetBucketWebsiteModel.m |
bucketName
Bucket name
@property (nonatomic, strong, nonnull) NSString *bucketName
Declared In
OBSSetBucketWebsiteModel.h
configuration
Website hosting rules
@property (nonatomic, strong, nonnull) __kindof OBSAbstractWebsiteConf *configuration
Declared In
OBSSetBucketWebsiteModel.h
– initWithBucketName:configuration:
Initialize a request for configuring static website hosting.
- (instancetype)initWithBucketName:(NSString *)bucketName configuration:(__kindof OBSAbstractWebsiteConf *)configuration
Parameters
bucketName |
Bucket name |
---|---|
configuration |
Website hosting rules for a bucket |
Return Value
Request for configuring static website hosting
Declared In
OBSSetBucketWebsiteModel.h