Enum ContentValidationAlgorithm
- All Implemented Interfaces:
Serializable, Comparable<ContentValidationAlgorithm>, java.lang.constant.Constable
Algorithm for content validation on upload and download operations. When enabled, the SDK computes checksums and
validates content integrity using the selected algorithm. Content validation is off by default.
Supported in Azure Storage Blob, Data Lake, and File Share packages for methods that use APIs supporting transactional CRC64, or structured message format.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentValidationAlgorithmReturns the enum constant of this type with the specified name.static ContentValidationAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
No content validation. This is the default; no checksum is computed or validated. -
AUTO
Allow the SDK to choose the validation algorithm. Currently resolves to CRC64 where supported. Different library versions may make different choices. The resolution may change in the future. Please set an explicit algorithm if you need a specific behavior. -
CRC64
Azure Storage custom 64-bit CRC. The SDK computes and validates CRC64 checksums for the transfer.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-