OBSLifecycleRule Class Reference
| Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
|---|---|
| Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
Other Methods
Other Methods
ID
Rule ID
@property (nonatomic, strong, nonnull) NSString *IDDeclared In
OBSServiceCommonEntities.h
prefix
Object name prefix
@property (nonatomic, strong, nonnull) NSString *prefixDeclared In
OBSServiceCommonEntities.h
status
Rule status (enabled or not)
@property (nonatomic, assign) OBSLifecycleStatus statusDeclared In
OBSServiceCommonEntities.h
transitionList
Element of the transition time and new storage class (applicable to the current version of the object) in the lifecycle rules
@property (nonatomic, strong, nonnull) NSMutableArray<OBSLifecycleTransition*> *transitionListDeclared In
OBSServiceCommonEntities.h
noncurrentVersionTransitionList
Element of the transition time and new storage class (applicable to the noncurrent object versions) in the lifecycle rules
@property (nonatomic, strong, nonnull) NSMutableArray<OBSLifecycleNoncurrentVersionTransition*> *noncurrentVersionTransitionListDeclared In
OBSServiceCommonEntities.h
expiration
Container of the expiration configuration for the current version of the object in the lifecycle rules
@property (nonatomic, strong, nonnull) OBSLifecycleExpiration *expirationDeclared In
OBSServiceCommonEntities.h
noncurrentVersionExpiration
Container of the expiration configuration for noncurrent object versions in the lifecycle rules. If versioning is enabled or suspended for a bucket, you can set this property to delete noncurrent object versions that match the lifecycle rules.
@property (nonatomic, strong, nonnull) OBSLifecycleNoncurrentVersionExpiration *noncurrentVersionExpirationDeclared In
OBSServiceCommonEntities.h