Class BucketInfo.SoftDeletePolicy.Builder (2.36.1)

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
TypeDescription
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
NameDescription
retentionDurationDuration
Returns
TypeDescription
BucketInfo.SoftDeletePolicy.Builder