Class BucketInfo.AgeDeleteRule (2.29.1)

public static class BucketInfo.AgeDeleteRule extends BucketInfo.DeleteRule

Deprecated. Use a LifecycleRule with a DeleteLifecycleAction and use LifecycleCondition.Builder.setAge instead.

For example, new DeleteLifecycleAction(1) is equivalent to new LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(1).build()))

Delete rule class that sets a Time To Live for blobs in the bucket. See Also: Object Lifecycle Management


java.lang.Object > BucketInfo.DeleteRule > BucketInfo.AgeDeleteRule