| 程序包 | 说明 |
|---|---|
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
ReplicationRule |
ReplicationRule.withDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.Returns the
updated object.
|
ReplicationRule |
ReplicationRule.withID(String id)
Sets th id of the replication rule, returns the
updated object.
|
ReplicationRule |
ReplicationRule.withPrefix(String prefix)
Sets the QCloud Object prefix for the replication rule.
|
ReplicationRule |
ReplicationRule.withStatus(ReplicationRuleStatus status)
Sets the status of this replication rule.
|
ReplicationRule |
ReplicationRule.withStatus(String status)
Sets the status of this replication rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<ReplicationRule> |
BucketReplicationConfiguration.getRules()
Returns the replication rules associated with this QCloud bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BucketReplicationConfiguration |
BucketReplicationConfiguration.addRule(ReplicationRule rule)
Adds a new rule to the replication configuration associated with this QCloud bucket.
|
BucketReplicationConfiguration |
BucketReplicationConfiguration.removeRule(ReplicationRule rule)
Removes the replication rule with the given id from the replication configuration associated
with QCloud bucket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BucketReplicationConfiguration.setRules(List<ReplicationRule> rules)
Sets the replication rules for the QCloud bucket.
|
BucketReplicationConfiguration |
BucketReplicationConfiguration.withRules(List<ReplicationRule> rules)
Sets the replication rules for the QCloud bucket.
|
Copyright © 2022. All rights reserved.