| Package | Description |
|---|---|
| com.qcloud.cos.model |
| Modifier and Type | Method and Description |
|---|---|
static StorageClass |
StorageClass.fromValue(String cosStorageClassString)
Returns the Qcloud COS
StorageClass enumeration value representing the
specified Qcloud COS StorageClass ID string. |
StorageClass |
InitiateMultipartUploadRequest.getStorageClass()
Returns the optional storage class to use when storing this upload's data in COS.
|
StorageClass |
ObjectMetadata.getStorageClassEnum() |
static StorageClass |
StorageClass.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageClass[] |
StorageClass.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BucketLifecycleConfiguration.NoncurrentVersionTransition.setStorageClass(StorageClass storageClass)
Sets the storage class of this object.
|
void |
ReplicationDestinationConfig.setStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
void |
CopyObjectRequest.setStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the newly copied object.
|
void |
PutInstructionFileRequest.setStorageClass(StorageClass storageClass)
Sets the optional COS storage class to use when storing the new object.
|
void |
InitiateMultipartUploadRequest.setStorageClass(StorageClass storageClass)
Sets the optional storage class to use when storing this upload's data in COS.
|
void |
AbstractPutObjectRequest.setStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the new object.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
BucketLifecycleConfiguration.NoncurrentVersionTransition.withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
PutObjectRequest |
PutObjectRequest.withStorageClass(StorageClass storageClass) |
ReplicationDestinationConfig |
ReplicationDestinationConfig.withStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the newly copied object and
returns this CopyObjectRequest, enabling additional method calls to be chained together.
|
PutInstructionFileRequest |
PutInstructionFileRequest.withStorageClass(StorageClass storageClass)
Sets the optional COS storage class to use when storing the new object.
|
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withStorageClass(StorageClass storageClass)
Sets the optional storage class to use when storing this upload's data in COS.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the new object.
|
Copyright © 2023. All rights reserved.