-
ClassDescriptionUse a
LifecycleRule
with an actionDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setCreatedBefore
instead.Use aLifecycleRule
with aDeleteLifecycleAction
and aLifecycleCondition
which is equivalent to a subclass of DeleteRule instead.Use aLifecycleRule
with aDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setIsLive
instead.Use aLifecycleRule
with aDeleteLifecycleAction
and a conditionLifecycleCondition.Builder.setNumberOfNewerVersions
instead.
-
MethodDescriptionThis 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.
LifecycleRule
with aDeleteLifecycleAction
and useLifecycleCondition.Builder.setAge
instead.For example,
new DeleteLifecycleAction(1)
is equivalent tonew LifecycleRule( LifecycleAction.newDeleteAction(), LifecycleCondition.newBuilder().setAge(1).build()))