Class B2ReplicationRule
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2ReplicationRule
-
public class B2ReplicationRule extends java.lang.Object
One rule about how files should be replicated to the destination bucket.
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDestinationBucketId()
java.lang.String
getFileNamePrefix()
int
getPriority()
java.lang.String
getReplicationRuleName()
int
hashCode()
boolean
includeExistingFiles()
boolean
isEnabled()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-