Class HostCisBenchmarkScanResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.model.HostCisBenchmarkScanResult.Builder
 
- 
- Enclosing class:
- HostCisBenchmarkScanResult
 
 public static class HostCisBenchmarkScanResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description HostCisBenchmarkScanResultbuild()HostCisBenchmarkScanResult.BuildercisBenchmarkScanIssuesCount(Integer cisBenchmarkScanIssuesCount)Total number of CIS (Center for Internet Security) benchmark issues found in this scanHostCisBenchmarkScanResult.BuildercisBenchmarkScanResultScores(List<HostCisBenchmarkScanResultScore> cisBenchmarkScanResultScores)A single CIS (Center for Internet Security) benchmark scan executed on a host.HostCisBenchmarkScanResult.BuildercompartmentId(String compartmentId)Compartment ID of the resource.HostCisBenchmarkScanResult.Buildercopy(HostCisBenchmarkScanResult model)HostCisBenchmarkScanResult.BuilderdisplayName(String displayName)Name of the resultHostCisBenchmarkScanResult.Builderid(String id)Unique identifier of the scanHostCisBenchmarkScanResult.BuilderinstanceId(String instanceId)Instance ID of the Compute Instance scannedHostCisBenchmarkScanResult.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the result.HostCisBenchmarkScanResult.BuildertimeFinished(Date timeFinished)Date and time the scan was completed, as described in RFC 3339HostCisBenchmarkScanResult.BuildertimeStarted(Date timeStarted)Date and time the scan was started, as described in RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic HostCisBenchmarkScanResult.Builder id(String id) Unique identifier of the scan- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic HostCisBenchmarkScanResult.Builder displayName(String displayName) Name of the result- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
instanceIdpublic HostCisBenchmarkScanResult.Builder instanceId(String instanceId) Instance ID of the Compute Instance scanned- Parameters:
- instanceId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic HostCisBenchmarkScanResult.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
 
 - 
timeStartedpublic HostCisBenchmarkScanResult.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 HostCisBenchmarkScanResult.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
 
 - 
cisBenchmarkScanIssuesCountpublic HostCisBenchmarkScanResult.Builder cisBenchmarkScanIssuesCount(Integer cisBenchmarkScanIssuesCount) Total number of CIS (Center for Internet Security) benchmark issues found in this scan- Parameters:
- cisBenchmarkScanIssuesCount- the value to set
- Returns:
- this builder
 
 - 
cisBenchmarkScanResultScorespublic HostCisBenchmarkScanResult.Builder cisBenchmarkScanResultScores(List<HostCisBenchmarkScanResultScore> cisBenchmarkScanResultScores) A single CIS (Center for Internet Security) benchmark scan executed on a host.- Parameters:
- cisBenchmarkScanResultScores- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic HostCisBenchmarkScanResult.Builder lifecycleState(LifecycleState lifecycleState) The current state of the result.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
buildpublic HostCisBenchmarkScanResult build() 
 - 
copypublic HostCisBenchmarkScanResult.Builder copy(HostCisBenchmarkScanResult model) 
 
- 
 
-