Class B2ReplicationRule


  • public class B2ReplicationRule
    extends java.lang.Object
    One rule about how files should be replicated to the destination bucket.
    • Constructor Detail

      • B2ReplicationRule

        public B2ReplicationRule​(java.lang.String replicationRuleName,
                                 java.lang.String destinationBucketId,
                                 int priority,
                                 java.lang.String fileNamePrefix,
                                 boolean isEnabled,
                                 boolean includeExistingFiles)
        Initializes a new, immutable rule.
    • Method Detail

      • getReplicationRuleName

        public java.lang.String getReplicationRuleName()
      • getDestinationBucketId

        public java.lang.String getDestinationBucketId()
      • getPriority

        public int getPriority()
      • getFileNamePrefix

        public java.lang.String getFileNamePrefix()
      • isEnabled

        public boolean isEnabled()
      • includeExistingFiles

        public boolean includeExistingFiles()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object