public static final class StorageTypes.Info.Builder extends Object
StorageTypes.Info
.Constructor and Description |
---|
StorageTypes.Info.Builder(StorageBacking storageBacking,
List<URI> storageUris,
String name,
long size,
boolean cached,
String version)
Constructor with parameters for the required properties of
StorageTypes.Info . |
Modifier and Type | Method and Description |
---|---|
StorageTypes.Info |
build() |
StorageTypes.Info.Builder |
setChecksumInfo(FileTypes.ChecksumInfo checksumInfo)
A checksum for validating the content of the file.
|
public StorageTypes.Info.Builder(StorageBacking storageBacking, List<URI> storageUris, String name, long size, boolean cached, String version)
StorageTypes.Info
.public StorageTypes.Info.Builder setChecksumInfo(FileTypes.ChecksumInfo checksumInfo)
This value can be used to verify that a transfer was completed without errors.
A checksum cannot always be calculated, and the value will benull
if
the file does not have content.checksumInfo
- New value for the property.public StorageTypes.Info build()
Copyright © 2016. All Rights Reserved.