OBSRestoreObjectRequest Class Reference
| Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel |
|---|---|
| Conforms to | OBSRestoreObjectProtocol |
| Declared in | OBSRestoreObjectModel.h OBSRestoreObjectModel.m |
Other Methods
– initWithBucketName:objectKey:storeDays:
Initialize a request for restoring an Archive object.
- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)objectKey storeDays:(NSNumber *)storeDaysParameters
bucketName |
Bucket name |
|---|---|
objectKey |
Object name |
storeDays |
Retention duration |
Return Value
Request for restoring an Archive object
Declared In
OBSRestoreObjectModel.h
Other Methods
bucketName
Bucket name
@property (nonatomic, strong, nonnull) NSString *bucketNameDeclared In
OBSRestoreObjectModel.h
objectKey
Object name
@property (nonatomic, strong, nonnull) NSString *objectKeyDeclared In
OBSRestoreObjectModel.h
versionID
Version ID
@property (nonatomic, strong, nonnull) NSString *versionIDDeclared In
OBSRestoreObjectModel.h
storeDays
Retention period of the restored object
@property (nonatomic, strong, nonnull) NSNumber *storeDaysDeclared In
OBSRestoreObjectModel.h
restoreTier
Restoration method
@property (nonatomic, assign) OBSRestoreTier restoreTierDiscussion
“Expedited” indicates that data can be restored within 1 to 5 minutes.
“Standard” indicates that the data can be restored within 3 to 5 hours.
Declared In
OBSRestoreObjectModel.h
restore
Container of the restoration information
@property (nonatomic, strong, nonnull) NSString *restoreDeclared In
OBSRestoreObjectModel.h