Class BlobInfo.Retention.Builder (2.40.1)

public static final class BlobInfo.Retention.Builder

Inheritance

java.lang.Object > BlobInfo.Retention.Builder

Constructors

Builder()

public Builder()

Methods

build()

public BlobInfo.Retention build()
Returns
Type Description
BlobInfo.Retention

setMode(BlobInfo.Retention.Mode mode)

public BlobInfo.Retention.Builder setMode(BlobInfo.Retention.Mode mode)

Sets the retention policy's Mode. Can be Locked or Unlocked.

Parameter
Name Description
mode BlobInfo.Retention.Mode
Returns
Type Description
BlobInfo.Retention.Builder

setRetainUntilTime(OffsetDateTime retainUntilTime)

public BlobInfo.Retention.Builder setRetainUntilTime(OffsetDateTime retainUntilTime)

Sets what time this object will be retained until, if the mode is Locked.

Parameter
Name Description
retainUntilTime OffsetDateTime
Returns
Type Description
BlobInfo.Retention.Builder