Class ContainerScanResultSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.ContainerScanResultSummary.Builder
 
- 
- Enclosing class:
- ContainerScanResultSummary
 
 public static class ContainerScanResultSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic ContainerScanResultSummary.Builder id(String id) The OCID of container scan result.Immutable and generated on creation. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
repositorypublic ContainerScanResultSummary.Builder repository(String repository) Repository in which the container image scanned is located- Parameters:
- repository- the value to set
- Returns:
- this builder
 
 - 
imagepublic ContainerScanResultSummary.Builder image(String image) Image name- Parameters:
- image- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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 - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
containerScanTargetIdpublic ContainerScanResultSummary.Builder containerScanTargetId(String containerScanTargetId) The OCID of container scan target.Immutable and generated on creation. - Parameters:
- containerScanTargetId- the value to set
- Returns:
- this builder
 
 - 
highestProblemSeveritypublic ContainerScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity) Highest problem severity in this report- Parameters:
- highestProblemSeverity- the value to set
- Returns:
- this builder
 
 - 
problemCountpublic ContainerScanResultSummary.Builder problemCount(Integer problemCount) Total number of problems found in this scan- Parameters:
- problemCount- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic ContainerScanResultSummary.Builder timeStarted(Date timeStarted) Date and time the scan was started, as described in RFC 3339- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic ContainerScanResultSummary.Builder timeFinished(Date timeFinished) Date and time the scan was completed, as described in RFC 3339- Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerScanResultSummary build() 
 - 
copypublic ContainerScanResultSummary.Builder copy(ContainerScanResultSummary model) 
 
- 
 
-