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.
deleteMarkerReplicationWhether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., whenfilteris used)documented below.destinationDestination for the rule. See below.existingObjectReplicationReplicate existing objects in the source bucket according to the rule configurations. See below.filterFilter that identifies subset of objects to which the replication rule applies. See below. If not specified, therulewill default to usingprefix.idUnique identifier for the rule. Must be less than or equal to 255 characters in length.prefixObject 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 ("") iffilteris not specified.priorityPriority associated with the rule. Priority should only be set iffilteris configured. If not provided, defaults to0. Priority must be unique between multiple rules.sourceSelectionCriteriaSpecial object selection criteria. See below.statusStatus 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
filteris 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
rulewill default to usingprefix.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 (
"") iffilteris not specified.final -
priority
→ Input<
int?> ? -
Priority associated with the rule. Priority should only be set if
filteris configured. If not provided, defaults to0. 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