Class ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy (2.40.1)

public abstract static class ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy implements Serializable

A naming strategy which will be used to generate a name for a part or intermediary compose object. See Also: #withPartNamingStrategy(PartNamingStrategy)

Inheritance

java.lang.Object > ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy

Implements

Serializable

Static Methods

noPrefix()

public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy noPrefix()

Default strategy in which no stable prefix is defined.

General format is


   {randomKeyDigest};{objectInfoDigest};{partIndex}.part
 

{objectInfoDigest} will be fixed for an individual BlobWriteSession.

NOTE:The way in which both randomKeyDigest and objectInfoDigest are generated is undefined and subject to change at any time. See Also: #withPartNamingStrategy(PartNamingStrategy)

Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy

prefix(String prefixPattern)

public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy prefix(String prefixPattern)

Strategy in which an explicit stable prefix is present on each part and intermediary compose object.

General format is


   {prefixPattern}/{randomKeyDigest};{objectInfoDigest};{partIndex}.part
 

{objectInfoDigest} will be fixed for an individual BlobWriteSession.

NOTE:The way in which both randomKeyDigest and objectInfoDigest are generated is undefined and subject to change at any time.

Care must be taken when choosing to specify a stable prefix as this can create hotspots in the keyspace for object names. See Object Naming Convention Guidelines for more details. See Also: #withPartNamingStrategy(PartNamingStrategy)

Parameter
Name Description
prefixPattern String
Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy

useObjectNameAsPrefix()

public static ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy useObjectNameAsPrefix()

Strategy in which the end object name is the prefix included and is present on each part and intermediary compose object.

General format is


   {objectName}-{randomKeyDigest};{objectInfoDigest};{partIndex}.part
 

{objectInfoDigest} will be fixed for an individual BlobWriteSession.

NOTE:The way in which both randomKeyDigest and objectInfoDigest are generated is undefined and subject to change at any time. See Also: #withPartNamingStrategy(PartNamingStrategy)

Returns
Type Description
ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy