Class BucketInfo.IsLiveDeleteRule (2.22.2)

public static class BucketInfo.IsLiveDeleteRule extends BucketInfo.DeleteRule

Deprecated. Use a LifecycleRule with a DeleteLifecycleAction and a condition LifecycleCondition.Builder.setIsLive instead.

Delete rule class to distinguish between live and archived blobs. See Also: Object Lifecycle Management

Inheritance

java.lang.Object > BucketInfo.DeleteRule > BucketInfo.IsLiveDeleteRule

Constructors

IsLiveDeleteRule(boolean isLive) (deprecated)

public IsLiveDeleteRule(boolean isLive)

Creates an IsLiveDeleteRule object.

Parameter
NameDescription
isLiveboolean

if set to true live blobs meet the delete condition. If set to false delete condition is met by archived blobs.

Methods

isLive() (deprecated)

public boolean isLive()
Returns
TypeDescription
boolean