OBSStoragePolicy Class Reference

Inherits from OBSBaseEntity : OBSAbstractModel : OBSMTLModel
Declared in OBSServiceCommonEntities.h
OBSServiceCommonEntities.m

– initWithStorageClass:

Initialize a storage policy sub-class.

- (instancetype)initWithStorageClass:(OBSStorageClass)storageClass

Parameters

storageClass

Storage class

OBSStorageClassNULL0,

OBSStorageClassStandard (Standard),

OBSStorageClassStandardIA (Infrequent Access)

OBSStorageClassGlacier (Archive)

Return Value

Storage policy object

Declared In

OBSServiceCommonEntities.h