Class ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator (2.37.0)

public abstract static class ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator implements Serializable

A Decorator which is used to manipulate metadata fields, specifically on the part objects created in a Parallel Composite Upload See Also: #withPartMetadataFieldDecorator(PartMetadataFieldDecorator)

Inheritance

java.lang.Object > ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator

Implements

Serializable

Static Methods

noOp()

public static ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator noOp()
Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator

setCustomTimeInFuture(Duration timeInFuture)

public static ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator setCustomTimeInFuture(Duration timeInFuture)

A decorator that is used to manipulate the Custom Time Metadata field of part files. BlobInfo#getCustomTimeOffsetDateTime()

When provided with a duration, a time in the future will be calculated for each part object upon upload, this new value can be used in OLM rules to cleanup abandoned part files.

See CustomTime OLM documentation See Also: #withPartMetadataFieldDecorator(PartMetadataFieldDecorator)

Parameter
Name Description
timeInFuture Duration
Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartMetadataFieldDecorator

Constructors

PartMetadataFieldDecorator()

public PartMetadataFieldDecorator()