类的使用
com.baidubce.services.bos.model.RestoreObjectRequest
-
使用RestoreObjectRequest的程序包 程序包 说明 com.baidubce.services.bos com.baidubce.services.bos.model -
-
com.baidubce.services.bos中RestoreObjectRequest的使用
参数类型为RestoreObjectRequest的com.baidubce.services.bos中的方法 修饰符和类型 方法 说明 voidBosClient. restoreObject(RestoreObjectRequest request)Restore an archive object to the specified Bos bucket -
com.baidubce.services.bos.model中RestoreObjectRequest的使用
返回RestoreObjectRequest的com.baidubce.services.bos.model中的方法 修饰符和类型 方法 说明 RestoreObjectRequestRestoreObjectRequest. withBucketName(String bucketName)Sets the name of the bucket in which to restore object, and hence, the eventual object restored from RestoreObjectRequest.RestoreObjectRequestRestoreObjectRequest. withKey(String key)Sets the key by which to restore, and hence, the eventual object restored from RestoreObjectRequest.RestoreObjectRequestRestoreObjectRequest. withRequestCredentials(BceCredentials credentials)Sets the optional credentials to use for this request, overriding the default credentials set at the client level.RestoreObjectRequestRestoreObjectRequest. withRestoreDays(Integer restoreDays)Sets the restore days for this requestRestoreObjectRequestRestoreObjectRequest. withRestoreTier(String restoreTier)Set the restore tier used in this request
-