| Package | Description |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal | |
| com.qcloud.cos.model |
| Modifier and Type | Method and Description |
|---|---|
void |
COS.restoreObject(RestoreObjectRequest request)
Restore an object, which was transitioned to CAS from COS when it was expired, into COS
again.
|
void |
COSClient.restoreObject(RestoreObjectRequest restoreObjectRequest) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
RequestXmlFactory.convertToXmlByteArray(RestoreObjectRequest restoreObjectRequest)
Converts the RestoreObjectRequest to an XML fragment that can be sent to the RestoreObject
operation of COS.
|
| Modifier and Type | Method and Description |
|---|---|
RestoreObjectRequest |
RestoreObjectRequest.withBucketName(String bucketName)
Sets the name of the bucket containing the reference to the object to restore which is now
stored in CAS, and returns a reference to this object(RestoreObjectRequest) for method
chaining.
|
RestoreObjectRequest |
RestoreObjectRequest.withCASJobParameters(CASJobParameters casJobParameters)
Sets CAS related prameters pertaining to this job.
|
RestoreObjectRequest |
RestoreObjectRequest.withExpirationInDays(int expirationInDays)
Sets the time, in days, between when an object is uploaded to the bucket and when it expires,
and returns a reference to this object(RestoreObjectRequest) for method chaining.
|
RestoreObjectRequest |
RestoreObjectRequest.withKey(String key)
Sets the key, the name of the reference to the object to restore, which is now stored in CAS.
|
RestoreObjectRequest |
RestoreObjectRequest.withVersionId(String versionId)
Sets the id of the version to be restored and returns a reference to this object for method
chaining.
|
Copyright © 2023. All rights reserved.