Class ScanReport.Summary.Builder
-
- All Implemented Interfaces:
public final class ScanReport.Summary.BuilderA builder for Summary.
-
-
Method Summary
-
-
Method Detail
-
detectionCategories
final ScanReport.Summary.Builder detectionCategories(List<String> detectionCategories)
list of unique detection categories found
-
detectionCategories
final ScanReport.Summary.Builder detectionCategories(JsonField<List<String>> detectionCategories)
Sets Builder.detectionCategories to an arbitrary JSON value.
You should usually call Builder.detectionCategories with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addDetectionCategory
final ScanReport.Summary.Builder addDetectionCategory(String detectionCategory)
Adds a single String to detectionCategories.
-
detectionCount
final ScanReport.Summary.Builder detectionCount(Long detectionCount)
total number of detections found
-
detectionCount
final ScanReport.Summary.Builder detectionCount(JsonField<Long> detectionCount)
Sets Builder.detectionCount to an arbitrary JSON value.
You should usually call Builder.detectionCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileCount
final ScanReport.Summary.Builder fileCount(Long fileCount)
total number of files scanned
-
fileCount
final ScanReport.Summary.Builder fileCount(JsonField<Long> fileCount)
Sets Builder.fileCount to an arbitrary JSON value.
You should usually call Builder.fileCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
filesFailedToScan
final ScanReport.Summary.Builder filesFailedToScan(Long filesFailedToScan)
number of files that failed during scanning
-
filesFailedToScan
final ScanReport.Summary.Builder filesFailedToScan(JsonField<Long> filesFailedToScan)
Sets Builder.filesFailedToScan to an arbitrary JSON value.
You should usually call Builder.filesFailedToScan with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
filesWithDetectionsCount
final ScanReport.Summary.Builder filesWithDetectionsCount(Long filesWithDetectionsCount)
number of files that contain detections
-
filesWithDetectionsCount
final ScanReport.Summary.Builder filesWithDetectionsCount(JsonField<Long> filesWithDetectionsCount)
Sets Builder.filesWithDetectionsCount to an arbitrary JSON value.
You should usually call Builder.filesWithDetectionsCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
highestSeverity
final ScanReport.Summary.Builder highestSeverity(ScanReport.Summary.HighestSeverity highestSeverity)
The highest severity of any detections on the scan.
-
highestSeverity
final ScanReport.Summary.Builder highestSeverity(JsonField<ScanReport.Summary.HighestSeverity> highestSeverity)
Sets Builder.highestSeverity to an arbitrary JSON value.
You should usually call Builder.highestSeverity with a well-typed HighestSeverity value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
severity
@Deprecated(message = "deprecated") final ScanReport.Summary.Builder severity(ScanReport.Summary.Severity severity)
The highest severity of any detections on the scan. Use ScanHighestDetectionSeverity instead.
-
severity
@Deprecated(message = "deprecated") final ScanReport.Summary.Builder severity(JsonField<ScanReport.Summary.Severity> severity)
Sets Builder.severity to an arbitrary JSON value.
You should usually call Builder.severity with a well-typed Severity value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unknownFiles
final ScanReport.Summary.Builder unknownFiles(Long unknownFiles)
number of files with unknown file type
-
unknownFiles
final ScanReport.Summary.Builder unknownFiles(JsonField<Long> unknownFiles)
Sets Builder.unknownFiles to an arbitrary JSON value.
You should usually call Builder.unknownFiles with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ScanReport.Summary.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ScanReport.Summary.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ScanReport.Summary.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ScanReport.Summary.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ScanReport.Summary.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ScanReport.Summary build()
Returns an immutable instance of Summary.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-