Class HostPortScanResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.HostPortScanResult.Builder
 
- 
- Enclosing class:
- HostPortScanResult
 
 public static class HostPortScanResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HostPortScanResultbuild()HostPortScanResult.BuildercompartmentId(String compartmentId)Compartment ID of the resource.HostPortScanResult.Buildercopy(HostPortScanResult model)HostPortScanResult.BuilderdisplayName(String displayName)Name of the resourceHostPortScanResult.BuilderhighestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity)Highest problem severity in this reportHostPortScanResult.Builderid(String id)Unique identifier of the scanHostPortScanResult.BuilderinstanceId(String instanceId)Instance ID of the Compute Instance scannedHostPortScanResult.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the result.HostPortScanResult.BuilderopenPortCount(Integer openPortCount)Total number of open ports across all attached VNICs found in this scanHostPortScanResult.BuilderopenPorts(List<HostPortScanResultOpenPort> openPorts)List of open ports (including interface) found in this scanHostPortScanResult.BuildertimeFinished(Date timeFinished)Date and time the scan was completed, as described in RFC 3339HostPortScanResult.BuildertimeStarted(Date timeStarted)Date and time the scan was started, as described in RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic HostPortScanResult.Builder id(String id) Unique identifier of the scan- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic HostPortScanResult.Builder displayName(String displayName) Name of the resource- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
instanceIdpublic HostPortScanResult.Builder instanceId(String instanceId) Instance ID of the Compute Instance scanned- Parameters:
- instanceId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic HostPortScanResult.Builder compartmentId(String compartmentId) Compartment ID of the resource.This is set to the same as the compartment ID of the scan target - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
highestProblemSeveritypublic HostPortScanResult.Builder highestProblemSeverity(ScanResultProblemSeverity highestProblemSeverity) Highest problem severity in this report- Parameters:
- highestProblemSeverity- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic HostPortScanResult.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 HostPortScanResult.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
 
 - 
openPortCountpublic HostPortScanResult.Builder openPortCount(Integer openPortCount) Total number of open ports across all attached VNICs found in this scan- Parameters:
- openPortCount- the value to set
- Returns:
- this builder
 
 - 
openPortspublic HostPortScanResult.Builder openPorts(List<HostPortScanResultOpenPort> openPorts) List of open ports (including interface) found in this scan- Parameters:
- openPorts- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic HostPortScanResult.Builder lifecycleState(LifecycleState lifecycleState) The current state of the result.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostPortScanResult build() 
 - 
copypublic HostPortScanResult.Builder copy(HostPortScanResult model) 
 
- 
 
-