Class BucketReplicationConfigurationRule


  • public final class BucketReplicationConfigurationRule
    extends java.lang.Object
    • Method Detail

      • deleteMarkerReplicationStatus

        public java.util.Optional<java.lang.String> deleteMarkerReplicationStatus()
        Returns:
        Whether delete markers are replicated. The only valid value is `Enabled`. To disable, omit this argument. This argument is only valid with V2 replication configurations (i.e., when `filter` is used).
      • id

        public java.util.Optional<java.lang.String> id()
        Returns:
        Unique identifier for the rule. Must be less than or equal to 255 characters in length.
      • prefix

        public java.util.Optional<java.lang.String> prefix()
        Returns:
        Object keyname prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length.
      • priority

        public java.util.Optional<java.lang.Integer> priority()
        Returns:
        The 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.
      • status

        public java.lang.String status()
        Returns:
        The status of the rule. Either `Enabled` or `Disabled`. The rule is ignored if status is not Enabled. > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rules` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.