Class B2LifecycleRule
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2LifecycleRule
-
public class B2LifecycleRule extends java.lang.Object
One rule about when to delete files in a bucket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
B2LifecycleRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static B2LifecycleRule.Builder
builder(java.lang.String fileNamePrefix)
boolean
equals(java.lang.Object o)
java.lang.Integer
getDaysFromHidingToDeleting()
java.lang.Integer
getDaysFromStartingToCancelingUnfinishedLargeFiles()
java.lang.Integer
getDaysFromUploadingToHiding()
java.lang.String
getFileNamePrefix()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static B2LifecycleRule.Builder builder(java.lang.String fileNamePrefix)
-
getFileNamePrefix
public java.lang.String getFileNamePrefix()
-
getDaysFromUploadingToHiding
public java.lang.Integer getDaysFromUploadingToHiding()
-
getDaysFromHidingToDeleting
public java.lang.Integer getDaysFromHidingToDeleting()
-
getDaysFromStartingToCancelingUnfinishedLargeFiles
public java.lang.Integer getDaysFromStartingToCancelingUnfinishedLargeFiles()
-
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
-
-