Uses of Class
com.google.cloud.storage.BucketInfo.DeleteRule
Packages that use BucketInfo.DeleteRule
-
Uses of BucketInfo.DeleteRule in com.google.cloud.storage
Subclasses of BucketInfo.DeleteRule in com.google.cloud.storageModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.Use aLifecycleRulewith an actionDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setCreatedBeforeinstead.static classDeprecated.Use aLifecycleRulewith aDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setIsLiveinstead.static classDeprecated.Use aLifecycleRulewith aDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setNumberOfNewerVersionsinstead.Methods in com.google.cloud.storage that return types with arguments of type BucketInfo.DeleteRuleModifier and TypeMethodDescriptionList<? extends BucketInfo.DeleteRule>BucketInfo.getDeleteRules()Deprecated.Method parameters in com.google.cloud.storage with type arguments of type BucketInfo.DeleteRuleModifier and TypeMethodDescriptionBucket.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule> rules) Deprecated.UseBucket.Builder.setLifecycleRules(Iterable)instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));abstract BucketInfo.BuilderBucketInfo.Builder.setDeleteRules(Iterable<? extends BucketInfo.DeleteRule> rules) Deprecated.UseBucketInfo.Builder.setLifecycleRules(Iterable)instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));
LifecycleRulewith aDeleteLifecycleActionand useLifecycleCondition.Builder.setAgeinstead.