Class JobListResponse.Item.Builder
-
- All Implemented Interfaces:
public final class JobListResponse.Item.BuilderA builder for Item.
-
-
Method Summary
-
-
Method Detail
-
detectionCount
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder detectionCount(Long detectionCount)
number of detections found; use
.summary.detection_countinstead
-
detectionCount
@Deprecated(message = "deprecated") final JobListResponse.Item.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
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder fileCount(Long fileCount)
number of files scanned; use
.summary.file_countinstead
-
fileCount
@Deprecated(message = "deprecated") final JobListResponse.Item.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.
-
filesWithDetectionsCount
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder filesWithDetectionsCount(Long filesWithDetectionsCount)
number of files with detections found; use
.summary.files_with_detections_countinstead
-
filesWithDetectionsCount
@Deprecated(message = "deprecated") final JobListResponse.Item.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.
-
inventory
final JobListResponse.Item.Builder inventory(JobListResponse.Item.Inventory inventory)
-
inventory
final JobListResponse.Item.Builder inventory(JsonField<JobListResponse.Item.Inventory> inventory)
Sets Builder.inventory to an arbitrary JSON value.
You should usually call Builder.inventory with a well-typed Inventory value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scanId
final JobListResponse.Item.Builder scanId(String scanId)
unique identifier for the scan
-
scanId
final JobListResponse.Item.Builder scanId(JsonField<String> scanId)
Sets Builder.scanId to an arbitrary JSON value.
You should usually call Builder.scanId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startTime
final JobListResponse.Item.Builder startTime(OffsetDateTime startTime)
time the scan started
-
startTime
final JobListResponse.Item.Builder startTime(JsonField<OffsetDateTime> startTime)
Sets Builder.startTime to an arbitrary JSON value.
You should usually call Builder.startTime with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final JobListResponse.Item.Builder status(JobListResponse.Item.Status status)
status of the scan
-
status
final JobListResponse.Item.Builder status(JsonField<JobListResponse.Item.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
summary
final JobListResponse.Item.Builder summary(JobListResponse.Item.Summary summary)
-
summary
final JobListResponse.Item.Builder summary(JsonField<JobListResponse.Item.Summary> summary)
Sets Builder.summary to an arbitrary JSON value.
You should usually call Builder.summary with a well-typed Summary value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final JobListResponse.Item.Builder version(String version)
scanner version
-
version
final JobListResponse.Item.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
schemaVersion
final JobListResponse.Item.Builder schemaVersion(String schemaVersion)
version of the scan report schema format
-
schemaVersion
final JobListResponse.Item.Builder schemaVersion(JsonField<String> schemaVersion)
Sets Builder.schemaVersion to an arbitrary JSON value.
You should usually call Builder.schemaVersion with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
compliance
final JobListResponse.Item.Builder compliance(JobListResponse.Item.Compliance compliance)
-
compliance
final JobListResponse.Item.Builder compliance(JsonField<JobListResponse.Item.Compliance> compliance)
Sets Builder.compliance to an arbitrary JSON value.
You should usually call Builder.compliance with a well-typed Compliance value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
detectionCategories
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder detectionCategories(List<String> detectionCategories)
list of detection categories found; use
.summary.detection_categoriesinstead
-
detectionCategories
@Deprecated(message = "deprecated") final JobListResponse.Item.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
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder addDetectionCategory(String detectionCategory)
Adds a single String to detectionCategories.
-
endTime
final JobListResponse.Item.Builder endTime(OffsetDateTime endTime)
time the scan ended
-
endTime
final JobListResponse.Item.Builder endTime(JsonField<OffsetDateTime> endTime)
Sets Builder.endTime to an arbitrary JSON value.
You should usually call Builder.endTime with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasGenealogy
final JobListResponse.Item.Builder hasGenealogy(Boolean hasGenealogy)
if there is model geneaology info available
-
hasGenealogy
final JobListResponse.Item.Builder hasGenealogy(JsonField<Boolean> hasGenealogy)
Sets Builder.hasGenealogy to an arbitrary JSON value.
You should usually call Builder.hasGenealogy with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
severity
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder severity(JobListResponse.Item.Severity severity)
The highest severity of any detections on the scan, including "safe". Use
.summary.highest_severityinstead.
-
severity
@Deprecated(message = "deprecated") final JobListResponse.Item.Builder severity(JsonField<JobListResponse.Item.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.
-
additionalProperties
final JobListResponse.Item.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JobListResponse.Item.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JobListResponse.Item.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JobListResponse.Item.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JobListResponse.Item.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JobListResponse.Item build()
Returns an immutable instance of Item.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.detectionCount() .fileCount() .filesWithDetectionsCount() .inventory() .scanId() .startTime() .status() .summary() .version()
-
-
-
-