Class ContainerScanResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.ContainerScanResult.Builder
 
- 
- Enclosing class:
- ContainerScanResult
 
 public static class ContainerScanResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerScanResultbuild()ContainerScanResult.BuildercompartmentId(String compartmentId)The OCID of the container scan result’s compartment.ContainerScanResult.BuildercontainerScanTargetId(String containerScanTargetId)The OCID of container scan target.ContainerScanResult.Buildercopy(ContainerScanResult model)ContainerScanResult.BuilderhighestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)Highest problem severity in this reportContainerScanResult.Builderid(String id)The OCID of container scan result.ContainerScanResult.Builderimage(String image)Image nameContainerScanResult.BuilderproblemCount(Integer problemCount)Total number of problems found in this scanContainerScanResult.Builderproblems(List<ContainerScanResultProblem> problems)List of problems found in this scanContainerScanResult.BuilderregistryUrl(String registryUrl)The URL of the docker registry the repository is located in.ContainerScanResult.Builderrepository(String repository)Repository in which the container image scanned is locatedContainerScanResult.BuildertargetCompartmentId(String targetCompartmentId)The OCID of the compartment to where scan was performed.ContainerScanResult.BuildertimeFinished(Date timeFinished)Date and time the scan was completed, as described in RFC 3339ContainerScanResult.BuildertimeStarted(Date timeStarted)Date and time the scan was started, as described in RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic ContainerScanResult.Builder id(String id) The OCID of container scan result.Immutable and generated on creation. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
registryUrlpublic ContainerScanResult.Builder registryUrl(String registryUrl) The URL of the docker registry the repository is located in.- Parameters:
- registryUrl- the value to set
- Returns:
- this builder
 
 - 
repositorypublic ContainerScanResult.Builder repository(String repository) Repository in which the container image scanned is located- Parameters:
- repository- the value to set
- Returns:
- this builder
 
 - 
imagepublic ContainerScanResult.Builder image(String image) Image name- Parameters:
- image- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ContainerScanResult.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
 
 - 
targetCompartmentIdpublic ContainerScanResult.Builder targetCompartmentId(String targetCompartmentId) The OCID of the compartment to where scan was performed.- Parameters:
- targetCompartmentId- the value to set
- Returns:
- this builder
 
 - 
containerScanTargetIdpublic ContainerScanResult.Builder containerScanTargetId(String containerScanTargetId) The OCID of container scan target.- Parameters:
- containerScanTargetId- the value to set
- Returns:
- this builder
 
 - 
highestProblemSeveritypublic ContainerScanResult.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity) Highest problem severity in this report- Parameters:
- highestProblemSeverity- the value to set
- Returns:
- this builder
 
 - 
problemCountpublic ContainerScanResult.Builder problemCount(Integer problemCount) Total number of problems found in this scan- Parameters:
- problemCount- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic ContainerScanResult.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 ContainerScanResult.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
 
 - 
problemspublic ContainerScanResult.Builder problems(List<ContainerScanResultProblem> problems) List of problems found in this scan- Parameters:
- problems- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerScanResult build() 
 - 
copypublic ContainerScanResult.Builder copy(ContainerScanResult model) 
 
- 
 
-