Class BucketReplicationConfigRule


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

      • deleteMarkerReplication

        public java.util.Optional<BucketReplicationConfigRuleDeleteMarkerReplication> deleteMarkerReplication()
        Returns:
        Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when `filter` is used)documented below.
      • filter

        public java.util.Optional<BucketReplicationConfigRuleFilter> filter()
        Returns:
        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

        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

        @Deprecated
        public java.util.Optional<java.lang.String> prefix()
        Deprecated.
        prefix is deprecated. Use filter instead.
        Returns:
        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

        public java.util.Optional<java.lang.Integer> priority()
        Returns:
        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:
        Status of the rule. Either `"Enabled"` or `"Disabled"`. The rule is ignored if status is not "Enabled".