Package com.google.cloud.storage
Class BucketInfo.SoftDeletePolicy.Builder
java.lang.Object
com.google.cloud.storage.BucketInfo.SoftDeletePolicy.Builder
- Enclosing class:
- BucketInfo.SoftDeletePolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setRetentionDuration
(Duration retentionDuration) Sets the length of time to retain soft-deleted objects for, expressed as a Duration
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRetentionDuration
Sets the length of time to retain soft-deleted objects for, expressed as a Duration -
build
-