OBSStoragePolicy Class Reference
Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
---|---|
Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
– initWithStorageClass:
存储策略初始化
- (instancetype)initWithStorageClass:(OBSStorageClass)storageClass
Parameters
storageClass |
存储种类 OBSStorageClassNULL0, OBSStorageClassStandard(标准存储), OBSStorageClassStandardIA(低频访问存储), OBSStorageClassGlacier(归档存储) |
---|
Return Value
存储策略对象
Declared In
OBSServiceCommonEntities.h