Class ContainerScanResultSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vulnerabilityscanning.model.ContainerScanResultSummary.Builder
-
- Enclosing class:
- ContainerScanResultSummary
public static class ContainerScanResultSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public 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
-
repository
public ContainerScanResultSummary.Builder repository(String repository)
Repository in which the container image scanned is located- Parameters:
repository
- the value to set- Returns:
- this builder
-
image
public ContainerScanResultSummary.Builder image(String image)
Image name- Parameters:
image
- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
containerScanTargetId
public 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
-
highestProblemSeverity
public ContainerScanResultSummary.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)
Highest problem severity in this report- Parameters:
highestProblemSeverity
- the value to set- Returns:
- this builder
-
problemCount
public ContainerScanResultSummary.Builder problemCount(Integer problemCount)
Total number of problems found in this scan- Parameters:
problemCount
- the value to set- Returns:
- this builder
-
timeStarted
public 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
-
timeFinished
public 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
-
build
public ContainerScanResultSummary build()
-
copy
public ContainerScanResultSummary.Builder copy(ContainerScanResultSummary model)
-
-