Class GCRules.DurationRule

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.GCRules.DurationRule
All Implemented Interfaces:
GCRules.GCRule
Enclosing class:
GCRules

public static final class GCRules.DurationRule extends Object implements GCRules.GCRule
Wrapper for building max duration rule
  • Method Details

    • getMaxAge

      public org.threeten.bp.Duration getMaxAge()
      Gets the configured maximum age
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toProto

      @InternalApi public com.google.bigtable.admin.v2.GcRule toProto()
      Specified by:
      toProto in interface GCRules.GCRule