BucketReplicationConfigRule class

Constructors

BucketReplicationConfigRule({Input<BucketReplicationConfigRuleDeleteMarkerReplication?>? deleteMarkerReplication, required Input<BucketReplicationConfigRuleDestination> destination, Input<BucketReplicationConfigRuleExistingObjectReplication?>? existingObjectReplication, Input<BucketReplicationConfigRuleFilter?>? filter, Input<String?>? id, Input<String?>? prefix, Input<int?>? priority, Input<BucketReplicationConfigRuleSourceSelectionCriteria?>? sourceSelectionCriteria, required Input<String> status})
Creates a new BucketReplicationConfigRule. deleteMarkerReplication Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below. destination Destination for the rule. See below. existingObjectReplication Replicate existing objects in the source bucket according to the rule configurations. See below. filter Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix. id Unique identifier for the rule. Must be less than or equal to 255 characters in length. prefix Object key name prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length. Defaults to an empty string ("") if filter is not specified. priority Priority associated with the rule. Priority should only be set if filter is configured. If not provided, defaults to 0. Priority must be unique between multiple rules. sourceSelectionCriteria Special object selection criteria. See below. status Status of the rule. Either "Enabled" or "Disabled". The rule is ignored if status is not "Enabled".
const
BucketReplicationConfigRule.fromMap(Map<String, dynamic> map)
factory

Properties

deleteMarkerReplication → Input<BucketReplicationConfigRuleDeleteMarkerReplication?>?
Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.
final
destination → Input<BucketReplicationConfigRuleDestination>
Destination for the rule. See below.
final
existingObjectReplication → Input<BucketReplicationConfigRuleExistingObjectReplication?>?
Replicate existing objects in the source bucket according to the rule configurations. See below.
final
filter → Input<BucketReplicationConfigRuleFilter?>?
Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String?>?
Unique identifier for the rule. Must be less than or equal to 255 characters in length.
final
prefix → Input<String?>?
Object key name prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length. Defaults to an empty string ("") if filter is not specified.
final
priority → Input<int?>?
Priority associated with the rule. Priority should only be set if filter is configured. If not provided, defaults to 0. Priority must be unique between multiple rules.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceSelectionCriteria → Input<BucketReplicationConfigRuleSourceSelectionCriteria?>?
Special object selection criteria. See below.
final
status → Input<String>
Status of the rule. Either "Enabled" or "Disabled". The rule is ignored if status is not "Enabled".
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited