Class BucketInfo.ObjectRetention.Builder (2.33.0)

public static final class BucketInfo.ObjectRetention.Builder

Inheritance

java.lang.Object > BucketInfo.ObjectRetention.Builder

Constructors

Builder()

public Builder()

Methods

build()

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

setMode(BucketInfo.ObjectRetention.Mode mode)

public BucketInfo.ObjectRetention.Builder setMode(BucketInfo.ObjectRetention.Mode mode)

Sets the object retention mode. Can be Enabled or Disabled.

Parameter
Name Description
mode BucketInfo.ObjectRetention.Mode
Returns
Type Description
BucketInfo.ObjectRetention.Builder