-
Deprecated ClassesClassDescriptionUse a
LifecycleRulewith an actionDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setCreatedBeforeinstead.Use aLifecycleRulewith aDeleteLifecycleActionand aLifecycleConditionwhich is equivalent to a subclass of DeleteRule instead.Use aLifecycleRulewith aDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setIsLiveinstead.Use aLifecycleRulewith aDeleteLifecycleActionand a conditionLifecycleCondition.Builder.setNumberOfNewerVersionsinstead.
-
Deprecated MethodsMethodDescriptionThis option is invalid, and can never result in a valid response from the server.Use
Bucket.Builder.setLifecycleRules(Iterable)instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));UseBucketInfo.Builder.setLifecycleRules(Iterable)instead, as insetLifecycleRules(Collections.singletonList( new BucketInfo.LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(5).build())));Invocation of this method has no effect. UsePostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int)to specify a range for the content-length.Invocation of this method has no effect, because all valid HTML form fields except Content-Length can use exact matching. UsePostPolicyV4.PostConditionsV4.Builder.addContentLengthRangeCondition(int, int)to specify a range for the content-length.This option is invalid, and can never result in a valid response from the server. useStorage.BlobGetOption.generationNotMatch(long)instead.This option is invalid, and can never result in a valid response from the server. useStorage.BlobSourceOption.generationNotMatch(long)instead.Please compute and use a crc32c checksum instead.Storage.BlobWriteOption.crc32cMatch()please migrate to usingStorageRetryStrategy.getDefaultStorageRetryStrategy()which is capable of providing handlers which are appropriate for idempotent and non-idempotent calls.
-
Deprecated Constructors
-
Deprecated Enum Constants
LifecycleRulewith aDeleteLifecycleActionand useLifecycleCondition.Builder.setAgeinstead.For example,
new DeleteLifecycleAction(1)is equivalent tonew LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(1).build()))