Class ScanReport.FileResult.Details.Builder
-
- All Implemented Interfaces:
public final class ScanReport.FileResult.Details.BuilderA builder for Details.
-
-
Method Summary
-
-
Method Detail
-
estimatedTime
final ScanReport.FileResult.Details.Builder estimatedTime(String estimatedTime)
estimated time to scan the file
-
estimatedTime
final ScanReport.FileResult.Details.Builder estimatedTime(JsonField<String> estimatedTime)
Sets Builder.estimatedTime to an arbitrary JSON value.
You should usually call Builder.estimatedTime with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileType
final ScanReport.FileResult.Details.Builder fileType(String fileType)
type of the file
-
fileType
final ScanReport.FileResult.Details.Builder fileType(JsonField<String> fileType)
Sets Builder.fileType to an arbitrary JSON value.
You should usually call Builder.fileType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sha256
final ScanReport.FileResult.Details.Builder sha256(String sha256)
hexadecimal sha256 hash of file
-
sha256
final ScanReport.FileResult.Details.Builder sha256(JsonField<String> sha256)
Sets Builder.sha256 to an arbitrary JSON value.
You should usually call Builder.sha256 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSize
final ScanReport.FileResult.Details.Builder fileSize(String fileSize)
size of the file in human readable format
-
fileSize
final ScanReport.FileResult.Details.Builder fileSize(JsonField<String> fileSize)
Sets Builder.fileSize to an arbitrary JSON value.
You should usually call Builder.fileSize with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileSizeBytes
final ScanReport.FileResult.Details.Builder fileSizeBytes(Long fileSizeBytes)
size of the file in bytes
-
fileSizeBytes
final ScanReport.FileResult.Details.Builder fileSizeBytes(JsonField<Long> fileSizeBytes)
Sets Builder.fileSizeBytes to an arbitrary JSON value.
You should usually call Builder.fileSizeBytes with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(ScanReport.FileResult.Details.FileTypeDetails fileTypeDetails)
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(JsonField<ScanReport.FileResult.Details.FileTypeDetails> fileTypeDetails)
Sets Builder.fileTypeDetails to an arbitrary JSON value.
You should usually call Builder.fileTypeDetails with a well-typed FileTypeDetails value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(ScanReport.FileResult.Details.FileTypeDetails.GgufFileAttributes ggufFileAttributes)
Alias for calling fileTypeDetails with
FileTypeDetails.ofGgufFileAttributes(ggufFileAttributes).
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(ScanReport.FileResult.Details.FileTypeDetails.KerasFileAttributes kerasFileAttributes)
Alias for calling fileTypeDetails with
FileTypeDetails.ofKerasFileAttributes(kerasFileAttributes).
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(ScanReport.FileResult.Details.FileTypeDetails.NumpyFileAttributes numpyFileAttributes)
Alias for calling fileTypeDetails with
FileTypeDetails.ofNumpyFileAttributes(numpyFileAttributes).
-
fileTypeDetails
final ScanReport.FileResult.Details.Builder fileTypeDetails(ScanReport.FileResult.Details.FileTypeDetails.RdsFileAttributes rdsFileAttributes)
Alias for calling fileTypeDetails with
FileTypeDetails.ofRdsFileAttributes(rdsFileAttributes).
-
md5
final ScanReport.FileResult.Details.Builder md5(String md5)
hexadecimal md5 hash of file
-
md5
final ScanReport.FileResult.Details.Builder md5(JsonField<String> md5)
Sets Builder.md5 to an arbitrary JSON value.
You should usually call Builder.md5 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tlsh
final ScanReport.FileResult.Details.Builder tlsh(String tlsh)
TLSH hash of file
-
tlsh
final ScanReport.FileResult.Details.Builder tlsh(JsonField<String> tlsh)
Sets Builder.tlsh to an arbitrary JSON value.
You should usually call Builder.tlsh with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ScanReport.FileResult.Details.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScanReport.FileResult.Details.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScanReport.FileResult.Details.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScanReport.FileResult.Details.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScanReport.FileResult.Details.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScanReport.FileResult.Details build()
Returns an immutable instance of Details.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.estimatedTime() .fileType() .sha256()
-
-
-
-