Class BucketInfo.SoftDeletePolicy.Builder (2.40.0)

public static final class BucketInfo.SoftDeletePolicy.Builder

Inheritance

java.lang.Object > BucketInfo.SoftDeletePolicy.Builder

Constructors

Builder()

public Builder()

Methods

build()

public BucketInfo.SoftDeletePolicy build()
Returns
Type Description
BucketInfo.SoftDeletePolicy

setRetentionDuration(Duration retentionDuration)

public BucketInfo.SoftDeletePolicy.Builder setRetentionDuration(Duration retentionDuration)

Sets the length of time to retain soft-deleted objects for, expressed as a Duration

Parameter
Name Description
retentionDuration Duration
Returns
Type Description
BucketInfo.SoftDeletePolicy.Builder