public static class ContainerScanResultSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public ContainerScanResultSummary.Builder id(String id)
The OCID of container scan result. Immutable and generated on creation.
id
- the value to setpublic ContainerScanResultSummary.Builder repository(String repository)
Repository in which the container image scanned is located
repository
- the value to setpublic ContainerScanResultSummary.Builder image(String image)
Image name
image
- the value to setpublic ContainerScanResultSummary.Builder compartmentId(String compartmentId)
The OCID of the container scan result’s compartment. This is set to the same as the compartmentId of the container scan target
compartmentId
- the value to setpublic ContainerScanResultSummary.Builder containerScanTargetId(String containerScanTargetId)
The OCID of container scan target. Immutable and generated on creation.
containerScanTargetId
- the value to setpublic ContainerScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report
highestProblemSeverity
- the value to setpublic ContainerScanResultSummary.Builder problemCount(Integer problemCount)
Total number of problems found in this scan
problemCount
- the value to setpublic ContainerScanResultSummary.Builder timeStarted(Date timeStarted)
Date and time the scan was started, as described in RFC 3339
timeStarted
- the value to setpublic ContainerScanResultSummary.Builder timeFinished(Date timeFinished)
Date and time the scan was completed, as described in RFC 3339
timeFinished
- the value to setpublic ContainerScanResultSummary build()
public ContainerScanResultSummary.Builder copy(ContainerScanResultSummary model)
Copyright © 2016–2024. All rights reserved.