Class B2BucketFileLockConfiguration
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2BucketFileLockConfiguration
-
public class B2BucketFileLockConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2BucketFileLockConfiguration(boolean isFileLockEnabled)
B2BucketFileLockConfiguration(boolean isFileLockEnabled, B2BucketDefaultRetention defaultRetention)
B2BucketFileLockConfiguration(boolean isFileLockEnabled, java.lang.String mode, int duration, java.lang.String unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
B2BucketDefaultRetention
getDefaultRetention()
java.lang.String
getDefaultRetentionMode()
B2BucketDefaultRetentionPeriod
getDefaultRetentionPeriod()
int
hashCode()
boolean
isFileLockEnabled()
java.lang.String
toString()
-
-
-
Constructor Detail
-
B2BucketFileLockConfiguration
public B2BucketFileLockConfiguration(boolean isFileLockEnabled, B2BucketDefaultRetention defaultRetention)
-
B2BucketFileLockConfiguration
public B2BucketFileLockConfiguration(boolean isFileLockEnabled, java.lang.String mode, int duration, java.lang.String unit)
-
B2BucketFileLockConfiguration
public B2BucketFileLockConfiguration(boolean isFileLockEnabled)
-
-
Method Detail
-
isFileLockEnabled
public boolean isFileLockEnabled()
-
getDefaultRetention
public B2BucketDefaultRetention getDefaultRetention()
-
getDefaultRetentionMode
public java.lang.String getDefaultRetentionMode()
-
getDefaultRetentionPeriod
public B2BucketDefaultRetentionPeriod getDefaultRetentionPeriod()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-