OBSLifecycleNoncurrentVersionTransition Class Reference
Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
---|---|
Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Overview
Element of the transition time and new storage class (applicable to the noncurrent object versions) in the lifecycle rules
Other Methods
– initWithDays:storageClass:
Initialize an element of the transition time and new storage class (applicable to the noncurrent object versions).
- (instancetype)initWithDays:(NSNumber *)days storageClass:(OBSStorageClass)storageClass
Parameters
days |
Number of days after which the rule takes effect |
---|---|
storageClass |
New storage class |
Return Value
Transition time and new storage class of noncurrent object versions
Declared In
OBSServiceCommonEntities.h
Other Methods
noncurrentDays
Number of days after which the rule takes effect
@property (nonatomic, strong, nonnull) NSNumber *noncurrentDays
Declared In
OBSServiceCommonEntities.h
storageClass
New storage class
@property (nonatomic, assign) OBSStorageClass storageClass
Declared In
OBSServiceCommonEntities.h