OBSRestoreObjectRequest Class Reference

Inherits from OBSBaseRequest : OBSAbstractModel : OBSMTLModel
Conforms to OBSRestoreObjectProtocol
Declared in OBSRestoreObjectModel.h
OBSRestoreObjectModel.m

Overview

Request for restoring an Archive object

Other Methods

– initWithBucketName:objectKey:storeDays:

Initialize a request for restoring an Archive object.

- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)objectKey storeDays:(NSNumber *)storeDays

Parameters

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 *bucketName

Declared In

OBSRestoreObjectModel.h

  objectKey

Object name

@property (nonatomic, strong, nonnull) NSString *objectKey

Declared In

OBSRestoreObjectModel.h

  versionID

Version ID

@property (nonatomic, strong, nonnull) NSString *versionID

Declared In

OBSRestoreObjectModel.h

  storeDays

Retention period of the restored object

@property (nonatomic, strong, nonnull) NSNumber *storeDays

Declared In

OBSRestoreObjectModel.h

  restoreTier

Restoration method

@property (nonatomic, assign) OBSRestoreTier restoreTier

Discussion

“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 *restore

Declared In

OBSRestoreObjectModel.h