Class B2BucketDefaultRetention
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2BucketDefaultRetention
-
public class B2BucketDefaultRetention extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2BucketDefaultRetention(java.lang.String mode, int duration, java.lang.String unit)
B2BucketDefaultRetention(java.lang.String mode, B2BucketDefaultRetentionPeriod period)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getMode()
B2BucketDefaultRetentionPeriod
getPeriod()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
B2BucketDefaultRetention
public B2BucketDefaultRetention(java.lang.String mode, B2BucketDefaultRetentionPeriod period)
-
B2BucketDefaultRetention
public B2BucketDefaultRetention(java.lang.String mode, int duration, java.lang.String unit)
-
-
Method Detail
-
getMode
public java.lang.String getMode()
-
getPeriod
public B2BucketDefaultRetentionPeriod getPeriod()
-
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
-
-