| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
static StorageClass |
StorageClass.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StorageClass[] |
StorageClass.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ReplicationDestinationConfig.setStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
void |
InitiateMultipartUploadRequest.setStorageClass(StorageClass storageClass)
Sets the optional storage class to use when storing this upload's data in COS.
|
void |
CopyObjectRequest.setStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the newly copied object.
|
void |
BucketLifecycleConfiguration.NoncurrentVersionTransition.setStorageClass(StorageClass storageClass)
Sets the storage class of this object.
|
void |
AbstractPutObjectRequest.setStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the new
object.
|
ReplicationDestinationConfig |
ReplicationDestinationConfig.withStorageClass(StorageClass storageClass)
Sets the storage class for the replication destination.
|
PutObjectRequest |
PutObjectRequest.withStorageClass(StorageClass storageClass) |
InitiateMultipartUploadRequest |
InitiateMultipartUploadRequest.withStorageClass(StorageClass storageClass)
Sets the optional storage class to use when storing this upload's data in COS.
|
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.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
BucketLifecycleConfiguration.NoncurrentVersionTransition.withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
<T extends AbstractPutObjectRequest> |
AbstractPutObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Qcloud COS storage class to use when storing the new
object.
|
Copyright © 2017. All rights reserved.