| Package | Description |
|---|---|
| com.qcloud.cos.model |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<ReplicationRule> |
BucketReplicationConfiguration.getRules()
Returns the replication rules associated with this QCloud bucket.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 © 2023. All rights reserved.