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