ReplicationRule class
Specifies which Amazon S3 objects to replicate and where to store the replicas.
Constructors
- ReplicationRule({required Destination destination, required ReplicationRuleStatus status, DeleteMarkerReplication? deleteMarkerReplication, ExistingObjectReplication? existingObjectReplication, ReplicationRuleFilter? filter, String? id, String? prefix, int? priority, SourceSelectionCriteria? sourceSelectionCriteria})
- ReplicationRule.fromXml(XmlElement elem)
-
factory
Properties
- deleteMarkerReplication → DeleteMarkerReplication?
-
final
- destination → Destination
-
A container for information about the replication destination and its
configurations including enabling the S3 Replication Time Control (S3 RTC).
final
- existingObjectReplication → ExistingObjectReplication?
-
final
- filter → ReplicationRuleFilter?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A unique identifier for the rule. The maximum value is 255 characters.
final
- prefix → String?
-
An object key name prefix that identifies the object or objects to which the
rule applies. The maximum prefix length is 1,024 characters. To include all
objects in a bucket, specify an empty string.
final
- priority → int?
-
The priority indicates which rule has precedence whenever two or more
replication rules conflict. Amazon S3 will attempt to replicate objects
according to all replication rules. However, if there are two or more rules
with the same destination bucket, then objects will be replicated according
to the rule with the highest priority. The higher the number, the higher the
priority.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceSelectionCriteria → SourceSelectionCriteria?
-
A container that describes additional filters for identifying the source
objects that you want to replicate. You can choose to enable or disable the
replication of these objects. Currently, Amazon S3 supports only the filter
that you can specify for objects created with server-side encryption using a
customer master key (CMK) stored in AWS Key Management Service (SSE-KMS).
final
- status → ReplicationRuleStatus
-
Specifies whether the rule is enabled.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
String elemName, {List< XmlAttribute> ? attributes}) → XmlElement
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited