Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
ReplicationRule |
BucketReplicationConfiguration.getRule(String id)
Returns the replication rule for the given rule id.
|
ReplicationRule |
ReplicationRule.withDeleteMarkerReplication(DeleteMarkerReplication deleteMarkerReplication)
Fluent method to set the DeleteMarkerReplication that is indicate if delete
markers have or don't have to be replicated in Replication configuration V2.
|
ReplicationRule |
ReplicationRule.withDestinationConfig(ReplicationDestinationConfig destinationConfig)
Sets the destination configuration for the replication rule.Returns the
updated object.
|
ReplicationRule |
ReplicationRule.withFilter(ReplicationFilter filter)
Fluent method to set the
ReplicationFilter that is used to identify objects
that a CRR Rule applies to. |
ReplicationRule |
ReplicationRule.withPrefix(String prefix)
Sets the Amazon S3 Object prefix for the replication rule.
|
ReplicationRule |
ReplicationRule.withPriority(Integer priority)
Set the priority of current 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 |
---|---|
Map<String,ReplicationRule> |
BucketReplicationConfiguration.getRules()
Returns the replication rules associated with this Amazon S3 bucket.
|
Modifier and Type | Method and Description |
---|---|
BucketReplicationConfiguration |
BucketReplicationConfiguration.addRule(String id,
ReplicationRule rule)
Adds a new rule to the replication configuration associated with this
Amazon S3 bucket.
|
Modifier and Type | Method and Description |
---|---|
void |
BucketReplicationConfiguration.setRules(Map<String,ReplicationRule> rules)
Sets the replication rules for the Amazon S3 bucket.
|
BucketReplicationConfiguration |
BucketReplicationConfiguration.withRules(Map<String,ReplicationRule> rules)
Sets the replication rules for the Amazon S3 bucket.
|
Copyright © 2024. All rights reserved.