OBSLifecycleTransition Class Reference
Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
---|---|
Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Other Methods
– initWithDays:storageClass:
初始化生命周期迁移时间及对象存储级别
- (instancetype)initWithDays:(NSNumber *)days storageClass:(OBSStorageClass)storageClass
Parameters
days |
第几天生效 |
---|---|
storageClass |
修改成的存储级别 |
Return Value
迁移时间及对象存储级别对象
Declared In
OBSServiceCommonEntities.h
Other Methods
days
对象创建时间后第几天时规则生效
@property (nonatomic, strong, nonnull) NSNumber *days
Declared In
OBSServiceCommonEntities.h
storageClass
对象将被修改成的存储级别
@property (nonatomic, assign) OBSStorageClass storageClass
Declared In
OBSServiceCommonEntities.h