public static final class FileTypes.ChecksumInfo.Builder
extends java.lang.Object
FileTypes.ChecksumInfo
.Constructor and Description |
---|
Builder(java.lang.String checksum)
Constructor with parameters for the required properties of
FileTypes.ChecksumInfo . |
Modifier and Type | Method and Description |
---|---|
FileTypes.ChecksumInfo |
build() |
FileTypes.ChecksumInfo.Builder |
setAlgorithm(FileTypes.ChecksumAlgorithm algorithm)
The checksum algorithm (SHA1, MD5, SHA256, SHA512) used to calculate the
checksum.
|
public Builder(java.lang.String checksum)
FileTypes.ChecksumInfo
.public FileTypes.ChecksumInfo.Builder setAlgorithm(FileTypes.ChecksumAlgorithm algorithm)
com.vmware.content.library.item.FileTypes.ChecksumAlgorithm#SH_A1
.algorithm
- New value for the property.public FileTypes.ChecksumInfo build()