Enum Class S3ChecksumMode
java.lang.Object
java.lang.Enum<S3ChecksumMode>
com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata.S3ChecksumMode
- All Implemented Interfaces:
Serializable,Comparable<S3ChecksumMode>,Constable
When the S3 client calculates request checksums and validates response
checksums. Maps to the AWS SDK v2 requestChecksumCalculation and
responseChecksumValidation settings.
Since AWS SDK for Java v2 2.30.0, the SDK default is WHEN_SUPPORTED, which
sends CRC32 checksums (often as aws-chunked trailing checksums) on puts and
part uploads. Many S3-compatible stores (MinIO, Garage, R2, B2, Ceph, ...)
reject or mishandle those, so a backend with a custom endpoint defaults to
WHEN_REQUIRED (see S3ClientFactory).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -
Method Summary
Modifier and TypeMethodDescriptionstatic S3ChecksumModeReturns the enum constant of this class with the specified name.static S3ChecksumMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WHEN_REQUIRED
////////////////////////////////////////////////////////////////// -
WHEN_SUPPORTED
///////////////////////////////////////////////////////////////
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-