Class B2BucketDefaultRetentionPeriod
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2BucketDefaultRetentionPeriod
-
public class B2BucketDefaultRetentionPeriod extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2BucketDefaultRetentionPeriod(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)
int
getDuration()
java.lang.String
getUnit()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getDuration
public int getDuration()
-
getUnit
public java.lang.String getUnit()
-
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
-
-