| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
BucketLifecycleConfiguration.NoncurrentVersionTransition.withDays(int expirationInDays)
Sets the time in days from when a new version of the object is uploaded to the bucket and
when older versions are archived, and returns a reference to this object for method
chaining.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
BucketLifecycleConfiguration.NoncurrentVersionTransition.withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
BucketLifecycleConfiguration.NoncurrentVersionTransition.withStorageClass(String storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<BucketLifecycleConfiguration.NoncurrentVersionTransition> |
BucketLifecycleConfiguration.Rule.getNoncurrentVersionTransitions()
Returns the Qcloud COS non current object transition rules associated with the given
rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.addNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition noncurrentVersionTransition)
Adds a new Non current transition to the rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BucketLifecycleConfiguration.Rule.setNoncurrentVersionTransitions(List<BucketLifecycleConfiguration.NoncurrentVersionTransition> noncurrentVersionTransitions)
Sets the Qcloud COS non current object transition rules for the given bucket.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransitions(List<BucketLifecycleConfiguration.NoncurrentVersionTransition> noncurrentVersionTransitions)
Sets the Qcloud COS non current object transition rules for the given bucket.
|
Copyright © 2017. All rights reserved.