Enum StorageCapability
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum StorageCapability extends Enum<StorageCapability>
Provider-varying behavior, made DISCOVERABLE (HEL-236 capability model). "S3-compatible" is a spectrum — MinIO, Amazon S3, R2, Ceph RGW, B2 etc. differ on exactly these axes — so a workflow states what it needs via StorageCapabilities.require and fails BEFORE any data moves with a typed CapabilityRejectedException naming what is missing, instead of failing halfway through a transfer with a provider-specific error.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<StorageCapability>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTIPART_UPLOADCreateMultipartUpload/UploadPart/Complete/Abort lifecycle.
CONDITIONAL_CREATEConditional CREATE —
If-None-Match: *on PUT (WriteCondition.IfAbsent).CONDITIONAL_UPDATEConditional UPDATE —
If-Match: <etag>on PUT (WriteCondition.IfMatch).CHECKSUM_SHA256Server-verified SHA-256 content checksums (
x-amz-checksum-sha256).CHECKSUM_CRC32CServer-verified CRC32C content checksums.
VERSIONINGObject versioning (multiple versions retained per key).
SERVER_SIDE_ENCRYPTIONServer-side encryption at rest.
PRESIGNED_URLSPresigned URL generation (adapter-level API).
OBJECT_LOCKObject lock / retention (WORM).
CONSISTENT_LISTINGStrongly-consistent listing (a completed PUT is visible to
list).
-
Method Summary
Modifier and Type Method Description final StorageCapabilityvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<StorageCapability>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<StorageCapability>getEntries()Provider-varying behavior, made DISCOVERABLE (HEL-236 capability model). -
-
Method Detail
-
valueOf
final StorageCapability valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<StorageCapability> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<StorageCapability> getEntries()
Provider-varying behavior, made DISCOVERABLE (HEL-236 capability model). "S3-compatible" is a spectrum — MinIO, Amazon S3, R2, Ceph RGW, B2 etc. differ on exactly these axes — so a workflow states what it needs via StorageCapabilities.require and fails BEFORE any data moves with a typed CapabilityRejectedException naming what is missing, instead of failing halfway through a transfer with a provider-specific error.
-
-
-
-